Get a resource by Id

GET {{base_url}}/api/resource_management/v4/resources/{{resource_id}}

Request Params

KeyDatatypeRequiredDescription
links_and_issuesstring
include_attributesboolean
include_attribute_namespacesstring

RESPONSES

status: OK

{"id":"e9c4ab65-8a74-4ee0-a02f-fc0677a0ceec","created_at":"2021-03-01T13:04:14.675063166Z","updated_at":"2021-03-01T13:04:14.675063166Z","tenant_id":"1480271","external_id":"e9c4ab65-8a74-4ee0-a02f-fc0677a0ceec@1480271","type":"resource.group.computers","group_condition":"{\"displayName\":\"\",\"parentCondition\":\"\",\"condition\":\"comment like 'Simple*'\"}","parent_group_ids":["00000000-0000-0000-0000-000000000000"],"name":"Dynamic group","user_defined_name":"Dynamic group","_links":[{"rel":"self","href":"/api/resource_management/v4/resources"},{"rel":"get_resource","href":"/api/resource_management/v4/resources/e9c4ab65-8a74-4ee0-a02f-fc0677a0ceec"},{"rel":"get_resource_attributes","href":"/api/resource_management/v4/resources/e9c4ab65-8a74-4ee0-a02f-fc0677a0ceec/attributes"},{"rel":"create_or_update_resource_attributes","href":"/api/resource_management/v4/resources/e9c4ab65-8a74-4ee0-a02f-fc0677a0ceec/attributes"},{"rel":"get_attributes","href":"/api/resource_management/v4/resources/attributes/{namespace}/{key}/distinct_values"}]}