A valid api access token is required to access this endpoint. The token must
include at least one of the following scopes:
all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, file.*, or file.delete.
Request Path Components
Path Component
Description
Example
APPLICATION_ID
ID associated with the application
575ec8687ae143cd83dc4a97
FILE_ID
ID associated with the file
575ec76c7ae143cd83dc4a96
Request Headers
Name
Required
Description
Default
Authorization
Y
The token for authenticating the request, prepended with Bearer
GET https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID
Authentication
A valid api access token is required to access this endpoint. The token must
include at least one of the following scopes:
all.Application, all.Application.cli, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.cli, all.User.read, file.*, or file.get.
Request Path Components
Path Component
Description
Example
APPLICATION_ID
ID associated with the application
575ec8687ae143cd83dc4a97
FILE_ID
ID associated with the file
575ec76c7ae143cd83dc4a96
Request Headers
Name
Required
Description
Default
Authorization
Y
The token for authenticating the request, prepended with Bearer
Curl Example
curl-H'Content-Type: application/json'\-H'Accept: application/json'\-H'Authorization: Bearer YOUR_API_ACCESS_TOKEN'\-X GET \
https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID
POST https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID/move
Authentication
A valid api access token is required to access this endpoint. The token must
include at least one of the following scopes:
all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, file.*, or file.move.
Request Path Components
Path Component
Description
Example
APPLICATION_ID
ID associated with the application
575ec8687ae143cd83dc4a97
FILE_ID
ID associated with the file
575ec76c7ae143cd83dc4a96
Request Query Parameters
Name
Required
Description
Default
Example
name
N
The new name of the file or directory
name=fileA
parentDirectory
N
The new parent directory for the file or directory to move into.
parentDirectory=/new/location/here
Request Headers
Name
Required
Description
Default
Authorization
Y
The token for authenticating the request, prepended with Bearer
Curl Example
curl-H'Content-Type: application/json'\-H'Accept: application/json'\-H'Authorization: Bearer YOUR_API_ACCESS_TOKEN'\-X POST \
https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID/move
A valid api access token is required to access this endpoint. The token must
include at least one of the following scopes:
all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, file.*, or file.patch.
Request Path Components
Path Component
Description
Example
APPLICATION_ID
ID associated with the application
575ec8687ae143cd83dc4a97
FILE_ID
ID associated with the file
575ec76c7ae143cd83dc4a96
Request Headers
Name
Required
Description
Default
Authorization
Y
The token for authenticating the request, prepended with Bearer
Request Body
The body of the request should be serialized JSON that validates against
the File Patch schema. For example, the following would be a
valid body for this request:
POST https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID/upload
Authentication
A valid api access token is required to access this endpoint. The token must
include at least one of the following scopes:
all.Application, all.Application.cli, all.Organization, all.User, all.User.cli, file.*, or file.upload.
Request Path Components
Path Component
Description
Example
APPLICATION_ID
ID associated with the application
575ec8687ae143cd83dc4a97
FILE_ID
ID associated with the file
575ec76c7ae143cd83dc4a96
Request Headers
Name
Required
Description
Default
Authorization
Y
The token for authenticating the request, prepended with Bearer
Request Body
The body of the request should be a multipart form data post containing the following:
Name
Required
Description
Default
Example
file
Y
The content of the file to upload
Curl Example
curl-H'Content-Type: multipart/form-data'\-H'Accept: application/json'\-H'Authorization: Bearer YOUR_API_ACCESS_TOKEN'\-X POST \-Ffile=@localfilename' \
https://api.app.wnology.io/applications/APPLICATION_ID/file/FILE_ID/upload