getFile
GEThttps://host/v1/environment/:environment/files/:name
Get a File in an Environment by its url-encoded name, which is its GCS URI.
Request
Path Parameters
environment stringrequired
name stringrequired
Responses
- 200
File
- application/json
- Schema
- Example (from schema)
Schema
uri stringrequired
name stringrequired
creator string
createdAt numberrequired
size numberrequired
tags
object[]
{
"uri": "string",
"name": "string",
"creator": "string",
"createdAt": 0,
"size": 0,
"tags": [
{
"id": "string",
"type": "string",
"value": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://host/v1/environment/:environment/files/:name' \
-H 'Accept: application/json' \
-H 'api-key: <API_KEY_VALUE>'
ResponseClear