projects

Initiate a project file upload

Changed on

Validate a project file and create a presigned direct-upload URL. Mobile projects only accept photos and videos (.png, .jpg, .jpeg, .mp4, .mov); runs preload them into the device photo library.

post/v1/projects/{projectId}/files

Request

  • Base URL
    https://tester.army/api
  • Auth
    none declared. Required headers: Authorization

Path parameters

projectIdstring required

Project ID or shortId

Headers

Authorizationstring required

API key authentication using Bearer token format

Request body

filenamestring required
fileSizeinteger required
mediaTypestring

Response

Presigned project-file upload details

uploadUrlstring uri required
storageKeystring required
mimeTypestring required
filenamestring required
fileSizeinteger required
mediaTypestring required

Changes

    • info

      api operation id initiate-a-project-file-upload removed and replaced with projects_initiateAProjectFileUpload

    • breaking

      the request property's minLength was increased from 0 to 1

    • warning

      the request property's exclusiveMinimum was set to 0.00

    • warning

      the request property's max was set to 52428800.00