Suggestion object
Fields
Field | Type | Description | Editable |
suggestion_messages_data | array |
Filters
Field | Description |
id | ID |
room_id | RoomのID |
find suggestion
GET
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/suggestions/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
search suggestions
GET
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/suggestions
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
create suggestion
POST
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/suggestions
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/vnd.api+json |
Content-Type | string | application/vnd.api+json |
X-Access-Token | string | set your access token |
Request Body
Name | Type | Description |
---|---|---|
data | object |
update suggestions
PUT
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/suggestions/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
Request Body
Name | Type | Description |
---|---|---|
data | object |
delete suggestion
DELETE
https://{YOUR_OKSKY_DOMAIN}/rapi/v1/suggestions/{:id}
Headers
Name | Type | Description |
---|---|---|
X-Access-Token | string | set you access token |
Content-Type | string | application/vnd.api+json |
Accept | string | application/vnd.api+json |
最終更新