cURL
curl --request GET \ --url https://api.quiva.ai/compute/functions/{collection_topic}/{function_topic} \ --header 'Authorization: Bearer <token>'
{ "body": { "description": "A serverless function", "name": "my-function", "runtime": "nodejs", "subject": "compute.my-namespace.function.123456789", "type": "created", "modified": 1714378974, "compute_asset": { "collection_topic": "my-namespace", "service": "123456789", "runtime": "nodejs", "handler": "index.handler", "assets": [ { "asset_name": "index.js", "asset_type": "file", "asset_value": "Y29uc29sZS5sb2coIkhlbGxvLCBXb3JsZCEiKTsK", "link": false } ], "timeout": 30000, "read_only_fs": true } } }
Retrieves a specific function by collection topic and function topic
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Collection topic identifier
Function topic identifier
Function details
Show child attributes