Skip to main content

Resource

/api/Resource/{type}​

Get​

Summary:​

Returns all the resources according to the provided query.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
squeryQuery compliant to the API query grammar.False
PathRepresents the permission path.True
QueryRootEntityTypeDefines the query root entity type.False
QueryBindingDefines the query binding.False
PageSizePage size.False
ContinuationTokenContinuationToken returned by previous page request.False
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200The assigned resource list.

Post​

Summary:​

Creates a resource.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200The result of the resource creation.

/api/Resource/Incremental/{type}/{date}​

Get​

Summary:​

Returns all the resources that have been modified (created, deleted, updated) after a given date.

Note: If no page size is specified, the default value of 1,000 is taken into consideration. Maximum allowed value for the page size is of 10,000.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
dateDate from which to get resources.False
PathRepresents the permission path.False
QueryRootEntityTypeDefines the query root entity type.False
QueryBindingDefines the query binding.False
PageSizePage size.False
ContinuationTokenContinuationToken returned by previous page request.False
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200Resources modified from a given date.

/api/Resource/{type}/{id}​

Get​

Summary:​

Returns a resource corresponding to the provided identifier and its information according to the provided query.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
idIdentifier of the resource role.True
squeryQuery compliant to the API query grammar.False
PathRepresents the permission path.False
QueryRootEntityTypeDefines the query root entity type.False
QueryBindingDefines the query binding.False
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200The resource.

Put​

Summary:​

Updates a resource.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
idIdentifier of the resource to update.True
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200The result of the resource update.

Delete​

Summary:​

Deletes a resource.

Parameters:​
NameDescriptionRequiredTypeReference
typeEntity type identifier.True
idIdentifier of the resource to delete.True
api-versionThe requested API versionTrue
Responses:​
CodeDescriptionReference
200The result of the resource delete.