Skip to content

Latest commit

 

History

History
106 lines (70 loc) · 2.68 KB

TagsAPI.md

File metadata and controls

106 lines (70 loc) · 2.68 KB

TagsAPI

All URIs are relative to https://silverchips.mbhs.edu/api

Method HTTP request Description
tagsList GET /tags/
tagsRead GET /tags/{id}/

tagsList

    open class func tagsList(limit: Int? = nil, offset: Int? = nil, completion: @escaping (_ data: TagListResponse?, _ error: Error?) -> Void)

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import SCOAPIClient

let limit = 987 // Int | Number of results to return per page. (optional)
let offset = 987 // Int | The initial index from which to return the results. (optional)

TagsAPI.tagsList(limit: limit, offset: offset) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
limit Int Number of results to return per page. [optional]
offset Int The initial index from which to return the results. [optional]

Return type

TagListResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tagsRead

    open class func tagsRead(id: Int, completion: @escaping (_ data: Tag?, _ error: Error?) -> Void)

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import SCOAPIClient

let id = 987 // Int | A unique integer value identifying this tag.

TagsAPI.tagsRead(id: id) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
id Int A unique integer value identifying this tag.

Return type

Tag

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]