Consume
Consume resource
POST https://mango.protokol.io/v2/api/resource/{name}/consume
Header parameters
- X-Client-Id
string
required
- X-Client-Secret
string
required
- X-Auth-Token
string
- if component requires auth - X-Project-Env
string
-dev
||live
Path parameters
- name
string
required
- Name of the thunder
Body parameters
- filters
string
- data
string
- Used only when flag isFindOneOrInsert
- flag
string
required
-FindOneOrInsert
FindOne
FindMany
Response
400 Bad Request
Content-Type: application/json
X-Project-Uuid: 4a9c28f9-18bd-4433-be2d-c3bbaf5355cd
{
"code": 0,
"message": "",
"request_id": "",
"status": false
}