files

Get file statistics

Changed on

Return the number of files and stored bytes in one environment.

Required permission: files.view.

get/v1/projects/{project_id}/files/{environment_id}/stats

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/files/{environment_id}/stats
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Response

Successful Response

total_filesinteger required
total_size_bytesinteger required

Changes