userFiles

Returns a public URL for the specified file.

Changed on

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

get/users/{userId}/files/{fileId}/shareurl

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/users/{userId}/files/{fileId}/shareurl
  • Auth: HTTP bearer

Path parameters

userIdstring uuid required
fileIdstring uuid required

Response

OK

string required

Changes

    • info

      api operation id userFiles_GetPublicToken removed and replaced with userFiles_GetFilesShareUrlByUserNameAndUserIdAndFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API