GET
/
api
/
code
/
v1
/
{id}
ListCode
curl --request GET \
  --url https://developer.synq.io/api/code/v1/{id} \
  --header 'Authorization: Bearer <token>'
{
  "codes": [
    {
      "definerIdentifier": {
        "airflowDag": {
          "integrationId": "<string>",
          "dagId": "<string>"
        }
      },
      "definerSynqPath": "<string>",
      "stateAt": "1s",
      "codeType": "CODE_TYPE_UNSPECIFIED",
      "sqlDialect": "SQL_DIALECT_UNSPECIFIED",
      "content": "<string>",
      "codeName": "<string>",
      "filePath": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
object
required

Identifier of the entity to retrieve code for. This can be any entity type that contains code artifacts.

Response

200
application/json

Success

ListCodeResponse is the response message for the ListCode method.