Get Appeal
Get Appeal returns an appeal by ID
Path Parameters
id string required
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
appeal object
{
"appeal": {
"id": "string",
"resourceId": "string",
"policyId": "string",
"policyVersion": 0,
"status": "string",
"accountId": "string",
"role": "string",
"options": {
"expirationDate": "2023-10-24T20:41:02.769Z",
"duration": "string"
},
"labels": {},
"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": [
{}
]
},
"approvals": [
{
"id": "string",
"name": "string",
"appealId": "string",
"status": "string",
"actor": "string",
"policyId": "string",
"policyVersion": 0,
"approvers": [
"string"
],
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z",
"reason": "string"
}
],
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"details": {},
"accountType": "string",
"createdBy": "string",
"creator": {},
"permissions": [
"string"
],
"grant": {
"id": "string",
"status": "string",
"accountId": "string",
"accountType": "string",
"resourceId": "string",
"role": "string",
"permissions": [
"string"
],
"expirationDate": "2023-10-24T20:41:02.769Z",
"appealId": "string",
"revokedBy": "string",
"revokedAt": "2023-01-01T00:00:00Z",
"revokeReason": "string",
"createdBy": "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": [
{}
]
},
"isPermanent": true,
"source": "string",
"statusInProvider": "string",
"owner": "string"
},
"description": "string"
}
}
Bad Request - The request was malformed or contained invalid parameters.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
GET /v1beta1/appeals/:id
Authorization
name: X-Auth-Emailtype: apiKeydescription: Email address of the userin: header
Request
Request
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
go / native
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
csharp / RestSharp
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/appeals/:id' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>'