Skip to main content
GET
/
compute
/
compute-assets
/
{collection_topic}
/
{resource_topic}
Get compute assets
curl --request GET \
  --url https://api.quiva.ai/compute/compute-assets/{collection_topic}/{resource_topic} \
  --header 'Authorization: Bearer <token>'
{
  "body": {
    "assets": [
      {
        "asset_name": "index.js",
        "asset_type": "file",
        "asset_value": "Y29uc29sZS5sb2coIkhlbGxvLCBXb3JsZCEiKTsK",
        "link": false
      }
    ],
    "collection_topic": "my-namespace",
    "service": "123456789",
    "runtime": "nodejs",
    "handler": "index.handler",
    "timeout": 30000,
    "read_only_fs": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_topic
string
required

Collection topic identifier

resource_topic
string
required

Resource topic identifier (function or container)

Response

Compute resource assets

body
object