GithubHelp home page GithubHelp logo

boatsbackend's Introduction

OutSystemsBoatsBackend

Authentication Basic Authentication is required for all requests.

This ObjC package is automatically generated by the Swagger Codegen project:

  • API version: 1
  • Package version:
  • Build package: io.swagger.codegen.languages.ObjcClientCodegen

Requirements

The SDK requires ARC (Automatic Reference Counting) to be enabled in the Xcode project.

Installation & Usage

Install from Github using CocoaPods

Add the following to the Podfile:

pod 'OutSystemsBoatsBackend', :git => 'https://github.com//.git'

To specify a particular branch, append , :branch => 'branch-name-here'

To specify a particular commit, append , :commit => '11aa22'

Install from local path using CocoaPods

Put the SDK under your project folder (e.g. /path/to/objc_project/Vendor/OutSystemsBoatsBackend) and then add the following to the Podfile:

pod 'OutSystemsBoatsBackend', :path => 'Vendor/OutSystemsBoatsBackend'

Usage

Import the following:

#import <OutSystemsBoatsBackend/OS_ApiClient.h>
#import <OutSystemsBoatsBackend/OS_Configuration.h>
// load models
#import <OutSystemsBoatsBackend/OS_Boat.h>
#import <OutSystemsBoatsBackend/OS_BoatBoatImageRecord.h>
#import <OutSystemsBoatsBackend/OS_BoatBoatImagesRecord.h>
#import <OutSystemsBoatsBackend/OS_BoatImage.h>
// load API classes for accessing endpoints
#import <OutSystemsBoatsBackend/OS_BoatsApi.h>

Recommendation

It's recommended to create an instance of ApiClient per thread in a multi-threaded environment to avoid any potential issues.

Getting Started

Please follow the installation procedure and then run the following:

OS_Configuration *apiConfig = [OS_Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basic)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];



OS_BoatsApi *apiInstance = [[OS_BoatsApi alloc] init];

[apiInstance getAllWithCompletionHandler: 
              ^(NSArray<OS_BoatBoatImageRecord>* output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

Documentation for API Endpoints

All URIs are relative to https://E1O0V-DV2D50.outsystemsenterprise.com/BoatsBackend/rest/Boats

Class Method HTTP request Description
OS_BoatsApi getAll GET /GetAll
OS_BoatsApi getBoatDetail GET /GetBoatDetail

Documentation For Models

Documentation For Authorization

basic

  • Type: HTTP basic authentication

Author

boatsbackend's People

Contributors

agmv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.