The single App Resource represents an isolated “space”. An App can have any number of platforms.
The JSON Schema is https://entrecode.de/schema/app.
|appID||String||Version 4 UUID (RFC 4122)||The unique identifier for an App||No. Gets generated on creation.|
|shortID||String||Shortened UUID||The unique identifier for an App used when deploying on some targets.||No. Gets generated on creation.|
|created||String||ISO-8601 formatted UTC Date String (YYYY-MM-DDTHH:mm:ss.sssZ, RFC 3339)||Timestamp of the creation of the App||No. Gets written on creation.|
|title||String||Friendly name for the App||Yes|
|hexColor||String||6-digit hex color
||Color identifier for editor.||Yes|
|Relation Name||Target Resource||Description||Possible Methods|
|self||App||The resource itself||GET, PUT, DELETE|
|collection||App List||List of all available Apps||GET, POST|
|ec:app/platforms||Platform List||List of this App´s platforms||GET, POST|
|ec:app/codesources||CodeSource List||List of CodeSources configured for this App||GET, POST|
|ec:app/datasources||DataSource List||List of DataSources configured for this App||GET, POST|
|ec:app/targets||Target List||List of Targets configured for this App||GET, POST|
The App List Resource is a Generic List Resource with embedded App Resources.
Additionally, it is the entry point for the App Manager API. Because of that, it has an additional
msg property with a greeting string (including the API Server version number).
To read a single App Resource, clients may perform GET on a
To read the App List Resource, clients may perform GET on a
ec:apps relation or on the
collection relation of a single App resource.
In both cases, the success status code is 200 OK.
To create a new App Resource, clients may perform a POST on
ec:apps (the list resource). The JSON Schema for creating a new App is https://entrecode.de/schema/app-template.
The success status code is 201 Created and the response body is the newly created single App resource.
To update an existing App Resource, clients may perform a PUT on
self at a single App Resource. The JSON Schema for editing an App is https://entrecode.de/schema/app-template.
The success status code is 200 OK and the response body is the updated single App resource.
To delete an existing App Resource, clients may perform a DELETE on
self at a single App Resource. This marks the App for deletion and makes it (including all related subresources) unavailable over the API. At some later point, it will even be wiped from the App Server.
Currently it is not possible to restore a deleted App using the API, so handle this method with care!
The success status code is 204 No Content with an empty response body.