Files
files
Operations about files
updateNimbusFile
Code samples
PUT /file
Update an existing file
Update an existing file by Id
Body parameter
Parameters
body
body
File
true
Update an existent file in the store
Example responses
200 Response
Responses
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
addNimbusFile
Code samples
POST /file
Add a new file to the store
Add a new file to the store
Body parameter
Parameters
body
body
File
true
Create a new file in the store
Example responses
200 Response
Responses
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
findNimbusFilesByStatus
Code samples
GET /file/findByStatus
Finds Files by status
Multiple status values can be provided with comma separated strings
Parameters
status
query
string
false
Status values that need to be considered for filter
Enumerated Values
status
available
status
pending
status
sold
Example responses
200 Response
Responses
Response Schema
Status Code 200
anonymous
[File]
false
none
none
» id
integer
false
none
Unique id of the file object
» fileName
string
false
none
Name of file
» fileURI
string¦null
false
none
URI of the file
» fileSize
integer
false
none
Size of the file in bytes
» createdAt
string(date-time)
false
none
Time when the file object was created
» metadata
object¦null
false
none
Optional metadata associated with the file (JSON format)
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
findNimbusFilesByTags
Code samples
GET /file/findByTags
Finds Files by tags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Parameters
tags
query
array[string]
false
Tags to filter by
Example responses
200 Response
Responses
Response Schema
Status Code 200
anonymous
[File]
false
none
none
» id
integer
false
none
Unique id of the file object
» fileName
string
false
none
Name of file
» fileURI
string¦null
false
none
URI of the file
» fileSize
integer
false
none
Size of the file in bytes
» createdAt
string(date-time)
false
none
Time when the file object was created
» metadata
object¦null
false
none
Optional metadata associated with the file (JSON format)
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
getNimbusFileById
Code samples
GET /file/{fileId}
Find file by ID
Returns a single file
Parameters
fileId
path
integer(int64)
true
ID of file to return
Example responses
200 Response
Responses
To perform this operation, you must be authenticated by means of one of the following methods: api_key, nimbus_auth ( Scopes: write:files read:files )
uploadNimbusbusFile
Code samples
POST /file/{fileId}/uploadImage
uploads an image
Body parameter
Parameters
fileId
path
integer(int64)
true
ID of file to update
additionalMetadata
query
string
false
Additional Metadata
body
body
string(binary)
false
none
Example responses
200 Response
Responses
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
file
updateNimbusFileWithForm
Code samples
POST /file/{fileId}
Updates a file in the store with form data
Parameters
fileId
path
integer(int64)
true
ID of file that needs to be updated
name
query
string
false
Name of file that needs to be updated
status
query
string
false
Status of file that needs to be updated
Responses
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
deleteNimbusFile
Code samples
DELETE /file/{fileId}
Deletes a file
delete a file
Parameters
api_key
header
string
false
none
fileId
path
integer(int64)
true
File id to delete
Responses
To perform this operation, you must be authenticated by means of one of the following methods: nimbus_auth ( Scopes: write:files read:files )
Last updated