API
/web_api/file_app/list_team_files
/web_api/file_app/list_team_files
This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.
Request
main-app://schemas/api_file_app/list_team_files.request.json
GET|POST /web_api/file_app/list_team_files body
| Name | Type | Required | Constraint |
|---|---|---|---|
project_id | integer | No | - |
Other top-level fields are allowed.
Response
main-app://schemas/api_file_app/list_team_files.response.json
GET|POST /web_api/file_app/list_team_files success
| Name | Type | Required | Constraint |
|---|---|---|---|
api_code | integer | Yes | const 200 |
api_result | object | Yes | other fields allowed |
empty | boolean | No | - |
Other top-level fields are not allowed.
Source schema
The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.
Request: main-app://schemas/api_file_app/list_team_files.request.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/api_file_app/list_team_files.request.json",
"title": "GET|POST /web_api/file_app/list_team_files body",
"type": "object",
"required": [],
"additionalProperties": true,
"properties": {
"project_id": {
"type": "integer"
}
}
}Response: main-app://schemas/api_file_app/list_team_files.response.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/api_file_app/list_team_files.response.json",
"title": "GET|POST /web_api/file_app/list_team_files success",
"allOf": [
{
"$ref": "main-app://schemas/_shared/envelope-success.json"
},
{
"type": "object",
"properties": {
"api_result": {
"type": "object",
"additionalProperties": true
}
}
}
]
}Fragment: main-app://schemas/_shared/envelope-success.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/_shared/envelope-success.json",
"title": "Canonical success envelope",
"type": "object",
"required": ["api_code", "api_result"],
"properties": {
"api_code": { "const": 200 },
"api_result": true,
"empty": { "type": "boolean" }
},
"additionalProperties": false
}Did this page help?