Download OpenAPI specification:Download
Infinite assets api
Removes an asset database for a project
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
{- "code": "E_UnknownError",
- "error": true,
- "uuid": "string"
}gets the backup of the full project
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
"string"Restores the backup of the full project (upsert), documents already in the dabase and not upserted are kept
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
"string"{- "documents": {
- "failed": 0,
- "succeeded": 0,
- "total": 0
}, - "errors": true,
- "items": [
- {
- "id": "string",
- "line": 0,
- "message": "string",
- "result": "patched",
- "revision": "string"
}
], - "syntaxerrors": 0,
- "took": 0
}Creates an asset database for a project
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
{- "code": "E_UnknownError",
- "error": true,
- "uuid": "string"
}Gets a list of documents from their id and optionaly revisions
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
| content-length required | integer <= 1048576 json body is limited to 1MB |
required | Array of objects |
{- "assets": [
- {
- "assetid": "string",
- "revision": "6177a9051e304cf69357fe3e96c97ec1"
}
]
}"string"Commits a batch of documents
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
"string"{- "documents": {
- "failed": 0,
- "succeeded": 0,
- "total": 0
}, - "errors": true,
- "items": [
- {
- "id": "string",
- "line": 0,
- "message": "string",
- "result": "patched",
- "revision": "string"
}
], - "syntaxerrors": 0,
- "took": 0
}Removes a list of documents from their id and revisions
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
| content-length required | integer <= 1048576 json body is limited to 1MB |
required | Array of objects |
{- "assets": [
- {
- "assetid": "string",
- "revision": "6177a9051e304cf69357fe3e96c97ec1"
}
]
}{- "deleted": [
- "string"
]
}Gets a list of revisions of documents from their id
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
| content-length required | integer <= 1048576 json body is limited to 1MB |
| assets required | Array of strings |
{- "assets": [
- "string"
]
}{- "assets": [
- {
- "assetid": "string",
- "revision": "6177a9051e304cf69357fe3e96c97ec1"
}
]
}Searches for documents that matches a list of criteria
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
| content-length required | integer <= 1048576 json body is limited to 1MB |
| adminmode required | boolean |
| all required | string |
| apptype required | Array of strings |
| description required | string |
| excludedassetid required | string^(?:[A-Za-z0-9+\-]{22})?$ |
| maxhits required | integer >= 1 |
| modificationusers required | Array of strings |
| name required | string |
| nameexact required | string |
required | Array of objects |
| tags required | Array of strings |
| teams required | Array of strings |
{- "adminmode": true,
- "all": "string",
- "apptype": [
- "string"
], - "description": "string",
- "excludedassetid": "string",
- "maxhits": 1,
- "modificationusers": [
- "string"
], - "name": "string",
- "nameexact": "string",
- "searchorder": [
- {
- "field": "creationusername",
- "order": "ASC"
}
], - "tags": [
- "string"
], - "teams": [
- "string"
]
}"string"Gets the list of tags, modification users, creation users in relation to the given user (i.e. that have access to the same assets)
| projectid required | string 36 characters ^prj_[a-f0-9]{32}$ Example: prj_091d232caeae2c0d2e4e63b031534c5b the unique identifier of the project |
| content-length required | integer <= 1048576 json body is limited to 1MB |
| adminmode required | boolean |
| stats required | Array of strings Items Enum: "tags" "creationusers" "modificationusers" |
{- "adminmode": true,
- "stats": [
- "tags"
]
}{- "creationusers": [
- {
- "user": "string",
- "username": "string"
}
], - "modificationusers": [
- {
- "user": "string",
- "username": "string"
}
], - "tags": [
- "string"
]
}