...
Anchor |
---|
| revisionService |
---|
| revisionService |
---|
|
...
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
name | mandatory | string | Name of the revision | description | optional | string | Short description of the revision | projectId | will be ignored | string (guid) | Creation date of the revision | divisionId | will be ignored | string (guid) | Id of the model | revisionNr | will be ignored | int | Revision number | created | will be ignored | string (date) | Creation date | createdBy | will be ignored | user object | The user who created it | applicationId | optional | string (guid) | The id of the application | inputType | optional | string | Type of upload (eg: "IFC_IMPORT") |
|
Card |
---|
| Update the revision info of a model. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name": "updated name"
}
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"id": "d2d39bca-051e-48fa-ba23-4845087a071c",
"name": "updated name",
"divisionId": "00b54edd-c84c-4bd2-a08c-c93d1f28907a",
"revisionNr": 6,
"created": "2015-11-03T11:13:27",
"createdby": {
"id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
"email": "jayaraj.purushothaman@gmail.com"
},
"changed": "0001-01-01T00:00:00",
"changedby": {
"id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
"email": "jayaraj.purushothaman@gmail.com"
},
"applicationId": "0106c8ba-ad46-7c08-e26f-026852cb7525"
}
|
|
|
Anchor |
---|
| getAllRevisionInfo |
---|
| getAllRevisionInfo |
---|
|
List of APIs for retrieving info from a particular resource (3D objects, attachments etc)
Please note that all resources(eg: objects, attachments etc) of a model revision can be accessed using the revision query string(i.e "?revision=<revisionNr>")
eg: GET /<TeamSlug>/objects/<ObjectID>/disciplines/<DisciplineID>/geometries/threejs?revision=2
GET /<TeamSlug>/objects/<ObjectID>/attachments?revision=2