Skip to content

Instantly share code, notes, and snippets.

@innabelaya
Last active May 29, 2019 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save innabelaya/e2a9be6165f87b42c29484ee05062f9a to your computer and use it in GitHub Desktop.
Save innabelaya/e2a9be6165f87b42c29484ee05062f9a to your computer and use it in GitHub Desktop.

Method Title

Description

Additional information about your API call.

  • URL

    _The URL Structure (path only, no root url)_
  • Method:

    GET | POST | DELETE | PUT

Input Parameters

If URL params exist, specify them. Separate into optional and required. All required params should be marked with asterisk. Add data constraints, if any.

Note: All fields marked with asterisk are mandatory.

Parameter Type Description

Title*

Type Available values:

  • String

  • Object

  • Integer

  • An array of strings/objects

Description

Title

Type Available values:

  • String

  • Object

  • Integer

  • An array of strings/objects

Description

If there is not any parameter, add a message - This method does not have any parameters.

Request Body

  • Format: JSON | XML | smth else

  • Request body attributes:

Note: All fields marked with asterisk are mandatory.

Parameter Type Description

Title*

Type Available values:

  • String

  • Object

  • Integer

  • An array of strings/objects

Description

Parameters of the objectName Object (For the embedded objects)

Add description, if required.

Parameter Type Description

Title

Type Available values:

  • String

  • Object

  • Integer

  • An array of strings/objects

Description

Successful Response

  • Code: 200

  • Format: JSON | XML

Successful response body parameters:

Parameter Type Description

Title

Type Available values:

  • String

  • Object

  • Integer

  • An array of strings/objects

Description

Sample Call

Request Example

Code block

Response Example

Code block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment