Scopes
Your Emporix tenant name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Page number to be retrieved. The number of the first page is 1.
1Number of items to be retrieved per page.
60List of properties used to sort the results, separated by colons. The order of properties indicates their priority in sorting.
Possible values:
{fieldName}{fieldName}:asc{fieldName}:desc
Note: If you want to sort the results by localized properties, the possible values are as follows:
{fieldName}.{language}{fieldName}.{language}:asc{fieldName}.{language}:desc
If the sorting direction is not specified, the fields are sorted in ascending order.
Standard query parameter used to search for specific values.
- Searching for an item by string property:
q=id:31065d5b-b62e, whereidis the field name and31065d5b-b62eis its required value. - Searching for an item by localized field property:
q=name.en:T-swherenameis the name of the field,enis a language code andT-sis a required value of this field. This query works only for localized fields, which are stored in a Map format wherekeyis a language code andvalueis translation to particular language. + Searching for items by date property. All numer-based property queries are valid also for dates. In that case the date should be placed within double quotes:q=metadata.createdAt:(>="2021-05-18T07:27:27.455Z" AND <"2021-05-20T07:27:27.455Z")+ Searching for items with non existing or empty property:q=name.en:nullwherename.enis a name of fields that has valuenull. + Searching for items with existing property:q=attributes:existswhereattributesis a name of field that hasnon nullvalue. + Searching for items by multiple specific values:q=id:(5c3325baa9812100098ff48f,5c3325d1a9812100098ff494)whereidis name of field and strings within a bracket are it''s required value. + Searching for items by multiple fields:q=id:5c3325baa9812100098ff48f name.en:T-swhereidand ''name.en'' are the names of fields. All documents that contain given values of these fields are returned. Multiple fields separated by space can be specified. Multiple values for each field can be also specified in a format presented above. + Searching for items with string fields conforming to a regex:q=name.en:~ABCD12orq=name.en:(~AB CD)- in case of searching for strings with space, wherenameis the name of field andABCD12orAB CDis it''s querying regex.'
id:in(exampleId1,exampleId2)Flag indicating whether the total number of retrieved items should be returned.
falseExample: trueThe request was successful. A list of scopes is returned.
Unsupported language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that tenant from the token does not match tenant from path.
Scope validation failed, details will be provided in response message
Your Emporix tenant name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of a scope. Only letters, periods (.), hyphens (-), and underscores (_) are allowed.
custom.scopeList of language codes acceptable for the response. You can specify factors that indicate which language should be retrieved if the one with a higher factor was not found in the localized fields. If the value is specified, then it must be present in the tenant configuration.
- If the header is set to a particular language or a list of languages, all localized fields are retrieved as strings.
- If the header is set to
*, all localized fields are retrieved as maps of translations, where the keys are language codes and values are the fields in their respective languages. - If the header is empty, localized fields are retrieved in the default language defined in the Configuration Service.
The request was successful. Scope details are returned.
Definition of a scope.
Scope identifier.
Domain identifier for the scope.
Indicates whether this scope is predefined in the system or was created by a user.
Unsupported language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that tenant from the token does not match tenant from path.
Scope validation failed, details will be provided in response message
Given resources cannot be found.
Your Emporix tenant name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of a scope. Only letters, periods (.), hyphens (-), and underscores (_) are allowed.
custom.scopePayload for creating or updating a scope.
Domain identifier for the scope.
The request was successful. The scope has been created.
The request was successful. The scope has been updated.
Unsupported language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that tenant from the token does not match tenant from path.
Scope validation failed, details will be provided in response message
Your Emporix tenant name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of a scope. Only letters, periods (.), hyphens (-), and underscores (_) are allowed.
custom.scopeThe request was successful. The scope has been deleted.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that tenant from the token does not match tenant from path.
Scope validation failed, details will be provided in response message
No content
Last updated
Was this helpful?

