Resource Manager (0.0.62)
Download OpenAPI specification:Download
PoC for the OpenApi for Resource Manager
listPermissionsEvaluatorResults Deprecated
Get the Permission Evaluator Result for the current Identity and Marpp for multiple resources
Authorizations:
query Parameters
resource required | Array of strings The Resource Id's that you want to return the associated permissions |
permission required | Array of strings The permissions that you want to check against |
Responses
Response samples
- 200
[- {
- "identity": {
- "marcoId": "string"
}, - "marppId": "string",
- "missingMarppPermissions": [
- "string"
], - "missingResourcePermissions": [
- "string"
], - "resourceId": "string",
- "result": true
}
]
listPermissions Deprecated
Get the Resource Identity permissions associated with the current identity for a resource and marpp
Authorizations:
query Parameters
resource required | string The Resource Id that you want to return the associated permissions |
Responses
Response samples
- 200
{- "identity": "string",
- "identityPermissions": [
- "string"
], - "marppPermissions": [
- "string"
], - "resourceID": "string"
}
identityOnMarppHasPermissionOnResource Deprecated
DEPRECATED: Please use /permissionEvaluatorResults instead
Checks if the current Identity has the listed permissions one a Marpp and Resource
Authorizations:
path Parameters
resourceId required | string The Resource Id that you want to return the associated permissions |
query Parameters
permission required | Array of strings The permissions that you want to check against |
Responses
Response samples
- 200
true
getPermissionsEvaluatorResult Deprecated
DEPRECATED: Please use /permissionEvaluatorResults instead
Get the Permission Evaluator Result for the current Identity on a Marpp And Resource
Authorizations:
path Parameters
resourceId required | string The Resource Id that you want to return the associated permissions |
query Parameters
permissions required | Array of strings The permissions that you want to check against |
Responses
Response samples
- 200
{- "identity": {
- "marcoId": "string"
}, - "marppId": "string",
- "missingMarppPermissions": [
- "string"
], - "missingResourcePermissions": [
- "string"
], - "resourceId": "string",
- "result": true
}
createResource Deprecated
Creates a new Resource
Authorizations:
Request Body schema: application/json
Creates a resource
id | string |
object | |
type | string (ResourceTypeEnum) Enum: "system" "organization" "project" "marpp" "wallet" "cloud-wallet" "node" "ledger" "explorer" "identity-group" "service-account" "smart-contract-template" "smart-contract-instance" "ledger-token" "plugin" "billing-account" |
Responses
Request samples
- Payload
{- "id": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "type": "system"
}
Response samples
- 201
{- "properties": [
- {
- "id": 0,
- "name": "organization",
- "value": "string"
}
], - "resourceID": "string",
- "resourceUUID": "string",
- "type": {
- "id": 0,
- "name": "system"
}
}
listResourcesContainingResourceIdForResourceType Deprecated
Fetch all Resources matching a specific resource type and contains string
Authorizations:
path Parameters
type required | string The type of resource that you want to return |
resourceId required | string Part or all of a resource id that you want to filter the results by |
query Parameters
lookupTerm | Array of strings Look up terms that you want to filter the resources by |
lookupTermStrategy required | string (LookupTermStrategyEnum) Default: "OR" Enum: "AND" "OR" The lookup strategy that you want to use |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
getResource Deprecated
Fetch a Resource with a matching ID
Authorizations:
path Parameters
resourceId required | string The ID of the resource that you want to return |
Responses
Response samples
- 200
{- "properties": [
- {
- "id": 0,
- "name": "organization",
- "value": "string"
}
], - "resourceID": "string",
- "resourceUUID": "string",
- "type": {
- "id": 0,
- "name": "system"
}
}
listAllResourcesByType Deprecated
Fetch all Resources matching a specific type and filters
Authorizations:
path Parameters
type required | string The type of resource that you want to return |
query Parameters
resourceId | string A search string for the resources that contain part of the id |
project | string |
organization | string The organization that you want to filter the resources |
lookupTerm | Array of strings Look up terms that you want to filter the resources by |
lookupTermStrategy required | string (LookupTermStrategyEnum) Default: "OR" Enum: "AND" "OR" The lookup strategy that you want to use |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
listResourceOfType Deprecated
Fetch a Resources matching a specific type and filters
Authorizations:
path Parameters
type required | string The type of resource that you want to return |
query Parameters
resourceId | string A search string for the resources that contain part of the id |
project | string |
organization | string The organization that you want to filter the resources |
lookupTerm | Array of strings Look up terms that you want to filter the resources by |
lookupTermStrategy required | string (LookupTermStrategyEnum) Default: "OR" Enum: "AND" "OR" The lookup strategy that you want to use |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
listResourcesForIdentity Deprecated
Fetch all Resources matching a specific type and Identity and filters
Authorizations:
path Parameters
type required | string The type of resource that you want to return |
marcoId required | string The Marco ID linked to the resource that you want to return |
query Parameters
resourceId | string A search string for the resources that contain part of the id |
project | string |
organization | string The organization that you want to filter the resources |
lookupTerm | Array of strings Look up terms that you want to filter the resources by |
lookupTermStrategy required | string (LookupTermStrategyEnum) Default: "OR" Enum: "AND" "OR" The lookup strategy that you want to use |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
listMarppIdentityRoles Deprecated
List all the Marpp Identity Roles associated with a Marpp and the current Identity
Authorizations:
query Parameters
marpp required | string The Marpp Id that you want to return the associated roles |
Responses
Response samples
- 200
[- {
- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
]
createMarppIdentityRole Deprecated
Creates a new Marpp Identity Role Relationship for a Marpp and the current Identity
Authorizations:
Request Body schema: application/json
The MarppIdentityRole that you want to create
id | integer <int64> |
identity | string |
marpp | string |
role | string |
Responses
Request samples
- Payload
{- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
Response samples
- 201
{- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
listMarppRoles Deprecated
List of Marpp Identity Roles associated with an Identity
Authorizations:
path Parameters
resourceId required | string The Resource Id that you want to return the associated roles |
Responses
Response samples
- 200
[- {
- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
]
setMarppRole Deprecated
Create a Marpp Identity Role relationship between a Marpp and an Identity
Authorizations:
path Parameters
resourceId required | string The Resource Id that you want associated a role with |
Request Body schema: application/json
The MarppIdentityRole that you want to create
id | integer <int64> |
identity | string |
marpp | string |
role | string |
Responses
Request samples
- Payload
{- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
Response samples
- 200
{- "id": 0,
- "identity": "string",
- "marpp": "string",
- "role": "string"
}
deleteResourceIdentityRole Deprecated
Schedules the deletion of a role belonging to the given resource and identity
Authorizations:
path Parameters
resourceId required | string The Resource Id you want to delete the role from |
marcoId required | string The Marco Id that you want to delete the role from |
name required | string The name of the role that you want to delete |
Responses
listResourceIdentityRoles Deprecated
Lists all the roles that are assigned to a Resource and Identity
Authorizations:
query Parameters
resource required | string The resource ID that you want to find all the associated roles |
identity required | string The Marco ID that you want to find all the associated roles |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
createResourceIdentityRole Deprecated
Creates a new role for a Resource and Identity
Authorizations:
Request Body schema: application/json
The Resource Identity Role that you want to create
id | integer <int64> |
identity | string |
resource | string |
role | string |
Responses
Request samples
- Payload
{- "id": 0,
- "identity": "string",
- "resource": "string",
- "role": "string"
}
Response samples
- 201
{- "id": 0,
- "identity": "string",
- "resource": "string",
- "role": "string"
}
createLookupTerm Deprecated
Create a Resource Lookup Term
Authorizations:
path Parameters
resourceId required | string The Resource Id that you want to create the Lookup Term for |
Request Body schema: application/json
The Lookup Term that you want to create
id | integer <int64> |
value | string |
Responses
Request samples
- Payload
{- "id": 0,
- "value": "string"
}
Response samples
- 201
{- "id": 0,
- "value": "string"
}
listIdentitiesOnResources Deprecated
List of Identities on given resource IDs
Authorizations:
query Parameters
resource required | Array of strings One or more resource IDs that you want to find all the associated Identities for |
size | integer <int> [ 5 .. 100 ] Default: 20 The number of items to return per page |
page | integer <int> >= 0 Default: 0 The page number that you want to return |
sort | Array of strings Example: sort=name,name,asc,name,desc The sort order that you want to return. You can specify one or more comma-separated sort keys, each followed by
an optional sort direction of either If you want to sort in descending order, append Examples of valid sort query parameters include:
|
Responses
Response samples
- 200
{- "contentType": "IdentityPage",
- "pageContent": [
- {
- "marcoId": "string"
}
], - "pageElements": 0,
- "pageNumber": 0,
- "totalElements": 0,
- "totalPages": 0
}
listMarppIdentityProperties Deprecated
Return a list of Marpp Identity Properties
Authorizations:
query Parameters
marpp required | string The Marpp Id that you want to return the properties for |
Responses
Response samples
- 200
[- {
- "id": 0,
- "identity": {
- "marcoId": "string"
}, - "marpp": "string",
- "name": "string",
- "value": "string"
}
]
createMarppIdentityProperty Deprecated
Create a Marpp Identity Property
Authorizations:
Request Body schema: application/json
The MarppIdentityProperty that you want to create
id | integer <int64> |
object (Identity) | |
marpp | string |
name | string |
value | string |
Responses
Request samples
- Payload
{- "id": 0,
- "identity": {
- "marcoId": "string"
}, - "marpp": "string",
- "name": "string",
- "value": "string"
}
Response samples
- 201
{- "id": 0,
- "identity": {
- "marcoId": "string"
}, - "marpp": "string",
- "name": "string",
- "value": "string"
}
listRoles Deprecated
List of roles with matching names and optionally filtered by role type
Authorizations:
query Parameters
names | Array of strings The names of the roles that you want to return |
roleType | string OPTIONAL: Filter the list of results by the role type |
Responses
Response samples
- 200
[- {
- "description": "string",
- "id": 0,
- "name": "string",
- "permissions": [
- {
- "action": "string",
- "id": 0
}
], - "roleType": "IDENTITY"
}
]