forked from agile-is-deployment/synactaclientcsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger.json
1 lines (1 loc) · 33.8 KB
/
swagger.json
1
{"swagger":"2.0","info":{"version":"v1","title":"Synacta","description":"WebApi","termsOfService":"<Terms of Use>","contact":{"name":"Agile-IS GmbH","url":"http://www.agile-is.de/","email":"bhofmann@agile-is.de"}},"basePath":"/","paths":{"/_api/authorization/Rights":{"get":{"tags":["Authorization"],"summary":"Gets the rights.","operationId":"_apiAuthorizationRightsGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Right"}}}},"deprecated":false}},"/_api/authorization/Principals":{"get":{"tags":["Authorization"],"summary":"Gets the principals.","operationId":"_apiAuthorizationPrincipalsGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/PrincipalSearchResult"}}}},"deprecated":false}},"/_api/authorization/Principals/{id}":{"get":{"tags":["Authorization"],"summary":"Provides a principal by his identifier.","operationId":"_apiAuthorizationPrincipalsByIdGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The principal identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PrincipalSearchResult"}}},"deprecated":false}},"/_api/authorization/Roles":{"get":{"tags":["Authorization"],"summary":"Gets the roles.","operationId":"_apiAuthorizationRolesGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Role"}}}},"deprecated":false}},"/_api/authorization/Roles/{id}":{"get":{"tags":["Authorization"],"summary":"Gets the role.","operationId":"_apiAuthorizationRolesByIdGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The role identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Role"}}},"deprecated":false},"post":{"tags":["Authorization"],"summary":"Updates the role.","operationId":"_apiAuthorizationRolesByIdPost","consumes":["application/json","text/json","application/json-patch+json","application/xml","text/xml"],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The role identifier.","required":true,"type":"string"},{"name":"role","in":"body","description":"The role.","required":false,"schema":{"$ref":"#/definitions/Role"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Role"}}},"deprecated":false},"delete":{"tags":["Authorization"],"summary":"Deletes the role.","operationId":"_apiAuthorizationRolesByIdDelete","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The role identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}}},"deprecated":false}},"/_api/authorization/Roles/Add":{"get":{"tags":["Authorization"],"summary":"Gets the role container.","operationId":"_apiAuthorizationRolesAddGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Role"}}},"deprecated":false},"put":{"tags":["Authorization"],"summary":"Adds the role.","operationId":"_apiAuthorizationRolesAddPut","consumes":["application/json","text/json","application/json-patch+json","application/xml","text/xml"],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"role","in":"body","description":"The role.","required":false,"schema":{"$ref":"#/definitions/Role"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Role"}}},"deprecated":false}},"/_api/base/Root":{"get":{"tags":["Base"],"summary":"Gets the root.","operationId":"_apiBaseRootGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Container"}}}},"deprecated":false}},"/_api/base/Types":{"get":{"tags":["Base"],"summary":"Gets the container types.","operationId":"_apiBaseTypesGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/_api/base/{type}":{"get":{"tags":["Base"],"summary":"Gets containers by a type.","operationId":"_apiBaseByTypeGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Container"}}}},"deprecated":false}},"/_api/base/{type}/{id}":{"get":{"tags":["Base"],"summary":"Gets the container by identifier.","operationId":"_apiBaseByTypeByIdGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifer.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false},"post":{"tags":["Base"],"summary":"Updates the container.","operationId":"_apiBaseByTypeByIdPost","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"newContainer","in":"body","description":"The new container.","required":false,"schema":{"$ref":"#/definitions/Container"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false},"delete":{"tags":["Base"],"summary":"Deletes the container.","operationId":"_apiBaseByTypeByIdDelete","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}}},"deprecated":false}},"/_api/base/{type}/{id}/Add/{newContainerType}":{"get":{"tags":["Base"],"summary":"Gets the empty container.","operationId":"_apiBaseByTypeByIdAddByNewContainerTypeGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"newContainerType","in":"path","description":"New type of the container.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/base/{type}/{id}/Add":{"put":{"tags":["Base"],"summary":"Saves the new container.","operationId":"_apiBaseByTypeByIdAddPut","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"newContainer","in":"body","description":"The new container.","required":false,"schema":{"$ref":"#/definitions/Container"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/base/{type}/{id}/Children":{"get":{"tags":["Base"],"summary":"Gets the children of container.","operationId":"_apiBaseByTypeByIdChildrenGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Container"}}}},"deprecated":false}},"/_api/base/{type}/{id}/Children/Types":{"get":{"tags":["Base"],"summary":"Gets the container types.","operationId":"_apiBaseByTypeByIdChildrenTypesGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/_api/base/{type}/{id}/Documents":{"get":{"tags":["Base"],"summary":"Gets the documents.","operationId":"_apiBaseByTypeByIdDocumentsGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Container"}}}},"deprecated":false}},"/_api/base/{type}/{id}/Documents/Types":{"get":{"tags":["Base"],"summary":"Gets the documents types.","operationId":"_apiBaseByTypeByIdDocumentsTypesGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/_api/base/{type}/{id}/LookupList/{lookupListName}":{"get":{"tags":["Base"],"summary":"Gets the lookup list entries.","operationId":"_apiBaseByTypeByIdLookupListByLookupListNameGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"lookupListName","in":"path","description":"Name of the lookup list.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/KeyValuePair[String,String]"}}}},"deprecated":false}},"/_api/base/{type}/{id}/Versions":{"get":{"tags":["Base"],"summary":"Gets the versions.","operationId":"_apiBaseByTypeByIdVersionsGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/DocumentVersion"}}}},"deprecated":false}},"/_api/base/{type}/{id}/Versions/{versionId}":{"get":{"tags":["Base"],"summary":"Gets the version by identifier.","operationId":"_apiBaseByTypeByIdVersionsByVersionIdGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"versionId","in":"path","description":"The version identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DocumentVersion"}}},"deprecated":false}},"/_api/base/{type}/{id}/Versions/{versionId}/GetFile":{"get":{"tags":["Base"],"summary":"Gets the file for version.","operationId":"_apiBaseByTypeByIdVersionsByVersionIdGetFileGet","consumes":[],"produces":[],"parameters":[{"name":"type","in":"path","description":"Type of the document .","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"versionId","in":"path","description":"The version identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/_api/base/{type}/{id}/Versions/{versionId}/Restore":{"post":{"tags":["Base"],"summary":"Restores the version.","operationId":"_apiBaseByTypeByIdVersionsByVersionIdRestorePost","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the document .","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"versionId","in":"path","description":"The version identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/base/{type}/{id}/GetFile":{"get":{"tags":["Base"],"summary":"Gets the file.","operationId":"_apiBaseByTypeByIdGetFileGet","consumes":[],"produces":[],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/_api/base/{type}/{id}/UploadFile":{"post":{"tags":["Base"],"summary":"Uploads the file.","operationId":"_apiBaseByTypeByIdUploadFilePost","consumes":[],"produces":[],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"204":{"description":"No Content"}},"deprecated":false}},"/_api/base/{type}/{id}/Checkin":{"put":{"tags":["Base"],"summary":"Checkins the specified .","operationId":"_apiBaseByTypeByIdCheckinPut","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"container","in":"body","description":"The container.","required":false,"schema":{"$ref":"#/definitions/Container"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/base/{type}/{id}/Checkout":{"put":{"tags":["Base"],"summary":"Checkouts the specified .","operationId":"_apiBaseByTypeByIdCheckoutPut","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the document.","required":true,"type":"string"},{"name":"id","in":"path","description":"The document identifier.","required":true,"type":"string"},{"name":"container","in":"body","description":"The container.","required":false,"schema":{"$ref":"#/definitions/Container"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/base/{type}/{id}/Move":{"post":{"tags":["Base"],"summary":"Moves the object.","operationId":"_apiBaseByTypeByIdMovePost","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"id","in":"path","description":"The container identifier.","required":true,"type":"string"},{"name":"container","in":"body","description":"The container.","required":false,"schema":{"$ref":"#/definitions/Container"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/log":{"get":{"tags":["Logging"],"summary":"Gets all logs.","operationId":"_apiLogGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Log"}}}},"deprecated":false}},"/_api/log/Add":{"get":{"tags":["Logging"],"summary":"Gets the log container.","operationId":"_apiLogAddGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Log"}}},"deprecated":false},"put":{"tags":["Logging"],"summary":"Adds the log.","operationId":"_apiLogAddPut","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"Log","in":"body","description":"The log.","required":false,"schema":{"$ref":"#/definitions/Log"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Log"}}},"deprecated":false}},"/_api/org":{"get":{"tags":["Organisation"],"summary":"Gets all organisations.","operationId":"_apiOrgGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Organisation"}}}},"deprecated":false}},"/_api/org/OrgTree":{"get":{"tags":["Organisation"],"summary":"Gets all organisations with childs.","operationId":"_apiOrgOrgTreeGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Organisation"}}}},"deprecated":false}},"/_api/org/{id}":{"get":{"tags":["Organisation"],"summary":"Gets the organisation.","operationId":"_apiOrgByIdGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Organisation"}}},"deprecated":false},"post":{"tags":["Organisation"],"summary":"Updates the organisation.","operationId":"_apiOrgByIdPost","consumes":["application/json","text/json","application/json-patch+json","application/xml","text/xml"],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"pOrganisation","in":"body","description":"The organisation.","required":false,"schema":{"$ref":"#/definitions/Organisation"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Organisation"}}},"deprecated":false},"delete":{"tags":["Organisation"],"summary":"Deletes the organisation.","operationId":"_apiOrgByIdDelete","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"boolean"}}},"deprecated":false}},"/_api/org/{id}/Children":{"get":{"tags":["Organisation"],"summary":"Gets the child organisations.","operationId":"_apiOrgByIdChildrenGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Organisation"}}}},"deprecated":false}},"/_api/org/{id}/Add":{"get":{"tags":["Organisation"],"summary":"Gets the new organisation.","operationId":"_apiOrgByIdAddGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Organisation"}}},"deprecated":false},"put":{"tags":["Organisation"],"summary":"Saves the new organisation.","operationId":"_apiOrgByIdAddPut","consumes":["application/json","text/json","application/json-patch+json","application/xml","text/xml"],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"newOrganisation","in":"body","description":"The new organisation.","required":false,"schema":{"$ref":"#/definitions/Organisation"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Organisation"}}},"deprecated":false}},"/_api/org/{id}/Move":{"post":{"tags":["Organisation"],"summary":"Moves the organisation.","operationId":"_apiOrgByIdMovePost","consumes":["application/json","text/json","application/json-patch+json","application/xml","text/xml"],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"organisation","in":"body","description":"The organisation.","required":false,"schema":{"$ref":"#/definitions/Organisation"}},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Organisation"}}},"deprecated":false}},"/_api/org/{id}/{type}":{"get":{"tags":["Organisation"],"summary":"Gets all containers.","operationId":"_apiOrgByIdByTypeGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"type","in":"path","description":"Type of the container.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Container"}}}},"deprecated":false}},"/_api/org/{id}/RecycleBin":{"get":{"tags":["Organisation"],"summary":"Gets the recycle bin.","operationId":"_apiOrgByIdRecycleBinGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/RecycleBinEntry"}}}},"deprecated":false}},"/_api/org/{id}/RecycleBin/{recycleBinId}":{"get":{"tags":["Organisation"],"summary":"Gets the recycle bin entry.","operationId":"_apiOrgByIdRecycleBinByRecycleBinIdGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"recycleBinId","in":"path","description":"The recycle identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RecycleBinEntry"}}},"deprecated":false}},"/_api/org/{id}/RecycleBin/{recycleBinId}/Restore":{"post":{"tags":["Organisation"],"summary":"Restores the recycle bin entry.","operationId":"_apiOrgByIdRecycleBinByRecycleBinIdRestorePost","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","description":"The organisation identifier.","required":true,"type":"string"},{"name":"recycleBinId","in":"path","description":"The recycle bin identifier.","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Container"}}},"deprecated":false}},"/_api/search":{"get":{"tags":["Search"],"summary":"Executes the search.","operationId":"_apiSearchGet","consumes":[],"produces":["text/plain","application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"access token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object"}}}},"deprecated":false}}},"definitions":{"Right":{"required":["id","name"],"type":"object","properties":{"@odata.context":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}}},"PrincipalSearchResult":{"type":"object","properties":{"resultType":{"type":"string"},"id":{"type":"string","readOnly":true},"customProperties":{"type":"object","additionalProperties":{"type":"object"}},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"}}},"Role":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"rights":{"type":"array","items":{"$ref":"#/definitions/Right"}},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"}}},"Container":{"type":"object","properties":{"Properties":{"type":"object","additionalProperties":{"type":"string"}},"PropertyInfos":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object"}}},"ID":{"type":"string"},"ObjectType":{"type":"string"},"ParentID":{"type":"string"},"ParentType":{"type":"string"},"IsVirtual":{"type":"boolean"},"Frozen":{"type":"boolean"},"HasChild":{"type":"boolean"},"CheckedOutBy":{"type":"string"},"Version":{"type":"string"},"Hash":{"type":"string"},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"Child@odata.navigationLink":{"type":"string"},"Document@odata.navigationLink":{"type":"string"},"Parent@odata.navigationLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"},"@odata.editLink":{"type":"string"},"@odata.etag":{"type":"string"},"@odata.metadataEtag":{"type":"string"},"@odata.PicklistLink":{"type":"string"}}},"KeyValuePair[String,String]":{"type":"object","properties":{"key":{"type":"string","readOnly":true},"value":{"type":"string","readOnly":true}}},"DocumentVersion":{"type":"object","properties":{"Version":{"type":"string"},"CreatedBy":{"type":"string"},"CreatedAt":{"type":"object"},"FileSize":{"format":"int64","type":"integer"},"ParentId":{"type":"string"},"ParentType":{"type":"string"},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"File@odata.navigationLink":{"type":"string"},"Restore@odata.navigationLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"}}},"Log":{"type":"object","properties":{"@odata.context":{"type":"string"},"ID":{"type":"string"},"Message":{"type":"string"},"Category":{"type":"string"},"Level":{"type":"string"},"Properties":{"type":"object","additionalProperties":{"type":"object"}}}},"Organisation":{"type":"object","properties":{"ID":{"type":"string"},"Name":{"type":"string"},"ParentID":{"type":"string"},"ParentName":{"type":"string"},"HasChildren":{"type":"boolean"},"Children":{"type":"array","items":{"$ref":"#/definitions/Organisation"}},"@odata.count":{"format":"int32","type":"integer"},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"Child@odata.navigationLink":{"type":"string"},"Parent@odata.navigationLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"},"@odata.editLink":{"type":"string"},"@odata.etag":{"type":"string"},"@odata.metadataEtag":{"type":"string"}}},"RecycleBinEntry":{"type":"object","properties":{"Properties":{"type":"object","additionalProperties":{"type":"string"}},"PropertyInfos":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object"}}},"Name":{"type":"string"},"Description":{"type":"string"},"DeletedBy":{"type":"string"},"DeletedDate":{"format":"date-time","type":"string"},"RecycleID":{"type":"string"},"ID":{"type":"string"},"Type":{"type":"string"},"ParentId":{"type":"string"},"ParentType":{"type":"string"},"ParentName":{"type":"string"},"Organisation":{"type":"string"},"@odata.context":{"type":"string"},"@odata.readLink":{"type":"string"},"Restore@odata.navigationLink":{"type":"string"},"FullODataLink@odata.navigationLink":{"type":"string"},"StandardODataLink@odata.navigationLink":{"type":"string"},"NoneODataLink@odata.navigationLink":{"type":"string"}}}},"securityDefinitions":{}}