secure_files

Retrieve details of a secure file

Retrieves details of a specified secure file in a project.

get/api/v4/projects/{id}/secure_files/{secure_file_id}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project owned by the authenticated user

secure_file_idinteger required

The ID of a secure file

Response

Retrieve details of a secure file

idinteger required
namestring required
checksumstring required
checksum_algorithmstring required
created_atstring date-time required
expires_atstring date-time required
metadataobject required
file_extensionstring required

Example response

{
  "id": 123,
  "name": "upload-keystore.jks",
  "checksum": "16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aac",
  "checksum_algorithm": "sha256",
  "created_at": "2022-02-22T22:22:22.222Z",
  "expires_at": "2023-09-21T14:55:59.000Z",
  "metadata": {
    "id": "75949910542696343243264405377658443914"
  },
  "file_extension": "jks"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.