Get Activity
Get Activity returns an activity by ID
Path Parameters
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
activity object
Creation time of the provider activity
provider object
config object
labels object
appeal object
resources object[]
policy object
roles object[]
parameters object[]
Creation time of the provider
Last update time of the provider
resource object
Resource unique identifier
Type of the provider that manages this resource
Unique resource urn
Type of the resource. Depends on the provider type. For example, for BigQuery, it can be dataset, table, view, etc.
Unique resource urn
Additional information of the resource that can be updated from Guardian
labels object
Resource creation timestamp
Resource last update timestamp
Whether the resource is deleted or not
Parent resource id
children object[]
List of child resources
{
"activity": {
"id": "string",
"providerId": "string",
"resourceId": "string",
"accountId": "string",
"accountType": "string",
"timestamp": "2023-10-24T20:41:02.754Z",
"authorizations": [
"string"
],
"type": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"provider": {
"id": "string",
"type": "string",
"urn": "string",
"config": {
"type": "string",
"urn": "string",
"labels": {},
"credentials": {},
"appeal": {
"allowPermanentAccess": true,
"allowActiveAccessExtensionIn": "string"
},
"resources": [
{
"type": "string",
"policy": {
"id": "string",
"version": 0
},
"roles": [
{
"id": "string",
"name": "string",
"description": "string",
"permissions": [
null
]
}
],
"filter": "string"
}
],
"allowedAccountTypes": [
"string"
],
"parameters": [
{
"key": "string",
"label": "string",
"required": true,
"description": "string"
}
]
},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
},
"resource": {
"id": "f4b7a3c0-9f9b-4b9b-9b0a-9e4b1a1b1b1b",
"providerType": "bigquery",
"providerUrn": "my-bq",
"type": "table",
"urn": "string",
"name": "string",
"details": {},
"labels": {},
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z",
"isDeleted": true,
"parentId": "string",
"children": [
{}
]
},
"providerActivityId": "string",
"relatedPermissions": [
"string"
]
}
}
Bad Request - The request was malformed or contained invalid parameters.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}