Get Environment File Config
GET/v1/environment/:environment_id/file
Get the file configuration for a specific environment
Request
Path Parameters
environment_id uuidrequired
The environment ID for this request
Responses
- 200
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
match_file_ttl_days Match File Ttl Days (integer)
Default value: 2
How long a file associated with a match lives in days
match_developer_file_ttl_days Match Developer File Ttl Days (integer)
Default value: 1
How long a developer file associated with a match lives in days
allow_files_for_match Allow Files For Match (boolean)
Default value: true
If files are allowed to be uploaded for matches
allow_developer_files_for_match Allow Developer Files For Match (boolean)
Default value: true
If developer files are allowed to be uploaded for matches
{
"match_file_ttl_days": 2,
"match_developer_file_ttl_days": 1,
"allow_files_for_match": true,
"allow_developer_files_for_match": true
}
Not Found
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...