files

Fetch a public file

Changed on
get/files/{userName}/{fileName}

Request

  • Base URL
    https://api.example.com/v1
  • URL
    https://api.example.com/v1/files/{userName}/{fileName}
  • Auth
    none declared

Path parameters

userNamestring required
fileNamestring required

Response

File

ownerstring required
fileNamestring required
registeredVersionsVersion[] required
createdAtstring date-time required
updatedAtstring date-time required

Changes

    • warning

      changed the pattern of the path request parameter fileName from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i

    • warning

      changed the pattern of the path request parameter userName from /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i

    • info

      the response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i for the status

    • info

      the response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i for the status

    • warning

      changed the pattern of the path request parameter userName from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i

    • info

      the response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i for the status