Obtaining the Details of a Test Event
Function
This API is used to obtain the details of a test event.
URI
GET /v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
event_id |
Yes |
String |
Event ID. |
|
function_urn |
Yes |
String |
Function URN. |
|
project_id |
Yes |
String |
Tenant's project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Test event ID. |
|
name |
String |
Test event name. |
|
content |
String |
Test event content. |
|
last_modified |
Number |
Last update time. |
Example Requests
GET https://{functiongraph_endpoint}/v2/7aad83af3e8d42e99ac194e8419e2c9b/fgs/functions/urn:fss:xxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test:latest/events/3b659dc0-12fc-40dc-aa05-a321d9424cb3
Example Responses
Status code: 200
ok
[ {
"id" : "3b659dc0-12fc-40dc-aa05-a321d9424cb3",
"name" : "event-k9r3",
"content" : "ewogICAgImJvZHkiOiAiIiwKICAgICJyZXF1ZXN0Q29udGV4d*******",
"last_modified" : 1597374286
} ]
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
ok |
Error Codes
See Error Codes.
Last Article: Deleting a Test Event
Next Article: Updating a Test Event
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.