Application Metadata
The application metadata endpoints allow administrators to manage custom JSON properties for their apps, providing a flexible way to store attributes that aren’t natively modeled. This metadata can be used for administrative purposes, such as storing contact details or other relevant information about the application.
Applications metadata data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
JSON blob |
Required |
Mutable |
User-defined custom metadata. The metadata must be a JSON object, and can include any custom properties that you want to associate with the application. |
|
String |
Required |
Read-only |
A string that specifies the application resource ID. |
|
String |
Required |
Read-only |
A string that specifies the environment associated with the application. |
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
403 |
You do not have permissions or are not licensed to make this request. |
404 |
The requested resource was not found. |
500 |
Unexpected server error. |
Application metadata errors
In addition to the general error codes, application metadata operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: Application metadata is not enabled for the environment (applies to Details: |
400 |
|
|
Message: When and detailsWhen: The application type does not support metadata (applies to Details: Detail |
400 |
|
|
Message: The constraint‑violation text in the form When and detailsWhen: The serialized metadata object exceeds 10 KB Details: Detail |
400 |
|
|
Message: When and detailsWhen: The Details: The raw deserialization message with target = the JSON field path. |
404 |
|
None |
Message: When and detailsWhen: The application does not exist in the environment (applies to Details: None. |
415 |
|
None |
Message: The standard unsupported‑media‑type message. When and detailsWhen: A metadata Details: None. |
500 |
|
None |
Message: When and detailsWhen: Previously stored metadata cannot be parsed as JSON when read for a Details: None. |