Retrieve a list of MediaMosa errorcodes.
/errorcodes [GET]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. length |
|---|---|---|---|---|
| code (UINT) | The ID of the error code to retrieve. | Optional | - | |
| limit (INT) | Limit of the items of the result set. | Optional | 10 | - |
| mediamosa_version (MEDIAMOSA_VERSION) | Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa. | Optional | - | |
| offset (UINT) | The starting items position in the result set. | Optional | 0 | - |
| order_by (ALPHA_NUM_UNDERSCORE) | On what column the result set should be ordered. Value (when supplied) must be either "code" or "name". | Optional | code | - |
| order_direction (ALPHA) | The direction of the result set. | Optional | asc | - |
/errorcodes?limit=10&offset=2&order_direction=asc
<items>
<item id="1">
<name>HTTP_NO_CONTENT</name>
<code>204</code>
<message></message>
</item>
<item id="2">
<name>HTTP_UNAUTHORIZED</name>
<code>401</code>
<message></message>
</item>
<item id="3">
<name>HTTP_FORBIDDEN</name>
<code>403</code>
<message></message>
</item>
<item id="4">
<name>HTTP_NOT_FOUND</name>
<code>404</code>
<message>Page not found</message>
</item>
<item id="5">
<name>ERRORCODE_OKAY</name>
<code>601</code>
<message></message>
</item>
<item id="6">
<name>ERRORCODE_TIME_RESTRICTION_START</name>
<code>602</code>
<message>PP - time_restriction_start error: @date (@timestamp)</message>
</item>
<item id="7">
<name>ERRORCODE_TIME_RESTRICTION_END</name>
<code>603</code>
<message>PP - time_restriction_end error: @date (@timestamp)</message>
</item>
<item id="8">
<name>ERRORCODE_FILE_NOT_FOUND</name>
<code>604</code>
<message>The file '@filename' doesn't exist!</message>
</item>
<item id="9">
<name>ERRORCODE_DIR_NOT_FOUND</name>
<code>605</code>
<message>Directory '@location'not found / doesn't exists!</message>
</item>
<item id="10">
<name>ERRORCODE_DIR_NOT_WRITABLE</name>
<code>606</code>
<message>Directory '@location' is read-only, need write access.</message>
</item>
</items>