Skip to content

Model

Get model

GET https://mango.protokol.io/v2/api/component/{ref}/model/{modelUuid}

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

  • ref string required - Reference to the components name, tag, uuid
  • modelUuid string required

Response

 400 Bad Request 

 Content-Type: application/json 
 X-Project-Uuid: 4a9c28f9-18bd-4433-be2d-c3bbaf5355cd 

 {
  "code": 0,
  "message": "",
  "request_id": "",
  "status": false
 } 
404 Not Found 

Content-Type: application/json 
X-Project-Uuid: 4a9c28f9-18bd-4433-be2d-c3bbaf5355cd 
X-Request-Uuid: 4a9c28f9-18bd-4433-be2d-c3bbaf5355cd  

{
"code": 0,
"message": "",
"status": false
}