Schema

To authorise an API request, you must get an API token, like this:

POST { username: myusername, password: mypassword } /api/user/login?persist=true|false

Endpoints

import

POST /api/:project/:environment/import

Parameters

getAll

GET /api/:project/:environment/schema

Parameters

Return value

Array All schemas

get

GET /api/:project/:environment/schemas/:id

Parameters

Return value

HashBrown.Entity.Resource.SchemaBase Schema

set

POST /api/:project/:environment/schemas/:id

Parameters

Return value

HashBrown.Entity.Resource.SchemaBase Schema

pull

POST /api/:project/:environment/schemas/pull/:id

Parameters

Return value

HashBrown.Entity.Resource.SchemaBase The pulled schema

push

POST /api/:project/:environment/schemas/push/:id

Parameters

Return value

HashBrown.Entity.Resource.SchemaBase The pushed schema

new

POST /api/:project/:environment/schemas/new

Parameters

Return value

HashBrown.Entity.Resource.SchemaBase The created schema

remove

DELETE /api/:project/:environment/schemas/:id

Parameters