trail-share
GET show
GET /trail-share/{id}
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
id | path | string | yes | none |
Response Examples
200 Response
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | OK | Inline |
404 | Not Found | Record Not Found | Inline |
Responses Data Schema
HTTP Status Code 200
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» collectionId | string | true | none | none | |
» collectionName | string | true | none | none | |
» created | string(date-time) | true | none | none | |
» id | string | true | none | none | |
» permission | string | true | none | none | |
» trail | string | true | none | none | |
» updated | string(date-time) | true | none | none | |
» user | string | true | none | none |
Enum
Name | Value |
---|---|
permission | view |
permission | edit |
HTTP Status Code 404
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» url | string | true | none | none | |
» status | integer | true | none | none | |
» response | object | true | none | none | |
»» code | integer | true | none | none | |
»» message | string | true | none | none | |
»» data | object | true | none | none | |
» isAbort | boolean | true | none | none | |
» originalError | object | true | none | none | |
»» url | string | true | none | none | |
»» status | integer | true | none | none | |
»» data | object | true | none | none | |
»»» code | integer | true | none | none | |
»»» message | string | true | none | none | |
»»» data | object | true | none | none | |
» name | string | true | none | none |
POST update
POST /trail-share/{id}
Body Parameters
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
id | path | string | yes | none |
Content-Type | header | string | yes | none |
body | body | object | no | none |
» trail | body | string | yes | none |
» user | body | string | yes | none |
» permission | body | string | yes | none |
Enum
Name | Value |
---|---|
» permission | view |
» permission | edit |
Response Examples
200 Response
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | OK | Inline |
404 | Not Found | Record Not Found | Inline |
Responses Data Schema
HTTP Status Code 200
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» collectionId | string | true | none | none | |
» collectionName | string | true | none | none | |
» created | string(date-time) | true | none | none | |
» id | string | true | none | none | |
» permission | string | true | none | none | |
» trail | string | true | none | none | |
» updated | string(date-time) | true | none | none | |
» user | string | true | none | none |
Enum
Name | Value |
---|---|
permission | view |
permission | edit |
HTTP Status Code 404
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» url | string | true | none | none | |
» status | integer | true | none | none | |
» response | object | true | none | none | |
»» code | integer | true | none | none | |
»» message | string | true | none | none | |
»» data | object | true | none | none | |
» isAbort | boolean | true | none | none | |
» originalError | object | true | none | none | |
»» url | string | true | none | none | |
»» status | integer | true | none | none | |
»» data | object | true | none | none | |
»»» code | integer | true | none | none | |
»»» message | string | true | none | none | |
»»» data | object | true | none | none | |
» name | string | true | none | none |
DELETE delete
DELETE /trail-share/{id}
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
id | path | string | yes | none |
Response Examples
200 Response
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | OK | Inline |
404 | Not Found | Record Not Found | Inline |
Responses Data Schema
HTTP Status Code 200
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» acknowledged | boolean | true | none | none |
HTTP Status Code 404
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» url | string | true | none | none | |
» status | integer | true | none | none | |
» response | object | true | none | none | |
»» code | integer | true | none | none | |
»» message | string | true | none | none | |
»» data | object | true | none | none | |
» isAbort | boolean | true | none | none | |
» originalError | object | true | none | none | |
»» url | string | true | none | none | |
»» status | integer | true | none | none | |
»» data | object | true | none | none | |
»»» code | integer | true | none | none | |
»»» message | string | true | none | none | |
»»» data | object | true | none | none | |
» name | string | true | none | none |
GET list
GET /trail-share
Response Examples
200 Response
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | OK | Inline |
Responses Data Schema
HTTP Status Code 200
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» collectionId | string | true | none | none | |
» collectionName | string | true | none | none | |
» created | string | true | none | none | |
» id | string | true | none | none | |
» permission | string | true | none | none | |
» trail | string | true | none | none | |
» updated | string | true | none | none | |
» user | string | true | none | none | |
» expand | object | true | none | none | |
»» user | object | true | none | none | |
»»» avatar | string | true | none | none | |
»»» collectionId | string | true | none | none | |
»»» collectionName | string | true | none | none | |
»»» id | string | true | none | none | |
»»» username | string | true | none | none |
PUT create
PUT /trail-share
Body Parameters
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | no | none |
» trail | body | string | yes | none |
» user | body | string | yes | none |
» permission | body | string | yes | none |
Enum
Name | Value |
---|---|
» permission | view |
» permission | edit |
Response Examples
200 Response
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | OK | Inline |
400 | Bad Request | Bad Request | Inline |
Responses Data Schema
HTTP Status Code 200
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» collectionId | string | true | none | none | |
» collectionName | string | true | none | none | |
» created | string(date-time) | true | none | none | |
» id | string | true | none | none | |
» permission | string | true | none | none | |
» trail | string | true | none | none | |
» updated | string(date-time) | true | none | none | |
» user | string | true | none | none |
Enum
Name | Value |
---|---|
permission | view |
permission | edit |
HTTP Status Code 400
Name | Type | Required | Restrictions | Title | description |
---|---|---|---|---|---|
» url | string | true | none | none | |
» status | integer | true | none | none | |
» response | object | true | none | none | |
»» code | integer | true | none | none | |
»» message | string | true | none | none | |
»» data | object | true | none | none | |
» isAbort | boolean | true | none | none | |
» originalError | object | true | none | none | |
»» url | string | true | none | none | |
»» status | integer | true | none | none | |
»» data | object | true | none | none | |
»»» code | integer | true | none | none | |
»»» message | string | true | none | none | |
»»» data | object | true | none | none | |
» name | string | true | none | none |