API by router
Platform forms
GET
HTTPBearerheader
AuthorizationBearer <token>status?string|nullX-Api-Key?string|nullSuccessful Response
application/json- response
[index: integer]?curl -X GET 'https://example.com/v1/forms'Example Response
[ { "created_at": "2019-08-24T14:15:22Z", "description": "string", "entity_definition_id": "f5e56f39-8997-4d0b-8c9c-2dbcc2c88316", "form_config": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "updated_at": "2019-08-24T14:15:22Z" }]POST
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullapplication/json- body
description?string|nullentity_definition_id?|nullform_config?name*NameLength
length <= 200slug*SlugLength
length <= 100status?StatusDefault
"active"Successful Response
application/json- response
created_at*Created AtFormat
date-timedescription*string|nullentity_definition_id*|nullform_config*id*IdFormat
uuidname*Nameslug*Slugstatus*Statustenant_id*Tenant IdFormat
uuidupdated_at*Updated AtFormat
date-timecurl -X POST 'https://example.com/v1/forms' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "slug": "string"}'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "description": "string", "entity_definition_id": "f5e56f39-8997-4d0b-8c9c-2dbcc2c88316", "form_config": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "updated_at": "2019-08-24T14:15:22Z"}GET
HTTPBearerheader
AuthorizationBearer <token>form_id*Form IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
created_at*Created AtFormat
date-timedescription*string|nullentity_definition_id*|nullform_config*id*IdFormat
uuidname*Nameslug*Slugstatus*Statustenant_id*Tenant IdFormat
uuidupdated_at*Updated AtFormat
date-timecurl -X GET 'https://example.com/v1/forms/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "description": "string", "entity_definition_id": "f5e56f39-8997-4d0b-8c9c-2dbcc2c88316", "form_config": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "updated_at": "2019-08-24T14:15:22Z"}DELETE
HTTPBearerheader
AuthorizationBearer <token>form_id*Form IdFormat
uuidX-Api-Key?string|nullSuccessful Response
curl -X DELETE 'https://example.com/v1/forms/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
PUT
HTTPBearerheader
AuthorizationBearer <token>form_id*Form IdFormat
uuidX-Api-Key?string|nullapplication/json- body
description?string|nullentity_definition_id?|nullform_config?|nullname?string|nullstatus?string|nullSuccessful Response
application/json- response
created_at*Created AtFormat
date-timedescription*string|nullentity_definition_id*|nullform_config*id*IdFormat
uuidname*Nameslug*Slugstatus*Statustenant_id*Tenant IdFormat
uuidupdated_at*Updated AtFormat
date-timecurl -X PUT 'https://example.com/v1/forms/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "created_at": "2019-08-24T14:15:22Z", "description": "string", "entity_definition_id": "f5e56f39-8997-4d0b-8c9c-2dbcc2c88316", "form_config": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "updated_at": "2019-08-24T14:15:22Z"}