Skip to content

Get a project

Request

Security
ApiKeyAuth
Path
idinteger, (int32)required

project id

curl -i -X GET \
  'https://api-workflow.treasuredata.com/api/projects/{id}' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

default response

Bodyapplication/json
archiveMd5string, (byte)

MD5 of archive

Example:"ZGRJdysyQ3VjZXI2UUN1c1ZhRXdDUT09"
archiveTypestringrequired

archive type

Example:"s3"
createdAtstring, (date-time)required

created time

Example:"2023-08-18T06:52:33Z"
deletedAtstring, (date-time)

deleted time

Example:"2023-08-18T06:52:33Z"
idstringrequired

project ID

Example:"123456"
metadataArray of objects(RestProjectMetadata)

project metadata

namestringrequired

project name

Example:"project-a"
revisionstringrequired

revision

Example:"rev-20230101-1"
updatedAtstring, (date-time)required

updated time

Example:"2023-08-18T06:52:33Z"
Response
{ "archiveMd5": "ZGRJdysyQ3VjZXI2UUN1c1ZhRXdDUT09", "archiveType": "s3", "createdAt": "2023-08-18T06:52:33Z", "deletedAt": "2023-08-18T06:52:33Z", "id": "123456", "metadata": [ {} ], "name": "project-a", "revision": "rev-20230101-1", "updatedAt": "2023-08-18T06:52:33Z" }