Aller au contenu

Models

Duplicate (POST)

ENDPOINT : api/models/-uuid-

SECURITY : authenticated

Headers

Terminal window
Authorization: Bearer JWT_TOKEN
Content-Type: application/json
Accept: application/json

URL Parameters

nametypedescriptionexample
uuidstringPas de description9c0e3313-1ecb-4ff4-93d9-46114936c20b

Body Parameters

key : environment_id
key : name
key : display_name
key : type
key : ref_model_uuid
key : format_uuid
key : library_uuids
key : data

Query Parameters

  • include (string) (optional)

Comma separated list relations to other models. Available: refModel, subModels, format, libraries, outputs, environment.

Example Request :

curl --request POST
--get "https://---API_SERVER---/api/formats?paginate=1"
--header "Content-Type: application/json"
--header "Accept: application/json"

Example response:

  • **Status**: 200

Generate (POST)

ENDPOINT : api/models/-uuid-/generate

SECURITY : authenticated

Headers

Terminal window
Authorization: Bearer JWT_TOKEN
Content-Type: application/json
Accept: application/json

URL Parameters

nametypedescriptionexample
uuidstringPas de description9c0e3313-1ecb-4ff4-93d9-46114936c20b

Body Parameters

key : types

Query Parameters

  • include (string) (optional)

Comma separated list relations to other models. Available: refModel, subModels, format, libraries, outputs, environment.

Example Request :

curl --request POST
--get "https://---API_SERVER---/api/formats?paginate=1"
--header "Content-Type: application/json"
--header "Accept: application/json"

Example response:

  • **Status**: 200