CKM REST API

REST API for the Clinical Knowledge Manager — 48 operations across 39 paths covering archetypes (list, search, ADL/XML/mindmap retrieval, specialisation parent, status by asset version, MD5 hash, import, trunk update, delete), templates (list, search, OET/OPT retrieval, file-set URL, required archetypes, embedded templates, validation report, status read and update, import, trunk update, delete), the archetype/template union "resources" view with the instance publisher namespace, projects and subdomains, change requests and resource proposals, and user and session management. Authentication is HTTP Basic or a JSESSIONID session header; public projects on a public instance read anonymously.

Operations 48

GET /archetypes/{cid-archetype}/hash Gets the (non-canonical) MD5 hash of the specified archetype in ADL format. #
GET /archetypes/{cid-archetype}/parent Gets main data about the specified archetype's parent archetype, if any. #
GET /archetypes/citeable-identifier/{archetype-id} Gets the citeable identifier of an archetype based on the specified archetype id. #
GET /archetypes/{cid-archetype}/status Gets the current status of the archetype in CKM. #
GET /archetypes/{cid-archetype}/status/{asset-version} Gets the status of the archetype in CKM for the specified asset version (i.e. revision). #
GET /archetypes/{cid-archetype}/project Gets the CKM project of the archetype. #
GET /archetypes Lists a selection of archetypes in CKM. #
POST /archetypes Imports a new archetype into a CKM project. Archetypes are imported using the import type "Create new archetype". Therefore, if you want to create a fork of the archetype, please u #
GET /archetypes/{cid-archetype} Gets the main data of one archetype. #
PUT /archetypes/{cid-archetype} Updates the stated archetype on the trunk. NB: Only archetypes that have NOT been published can be updated using the API. The submitted archetype MUST NOT change the current copyri #
DELETE /archetypes/{cid-archetype} PERMANENTLY and IRREVOCABLY DELETES the specified archetype in CKM. For a trunk archetype, this will also PERMANENTLY DESTROY EVERYTHING that depends on this resource, including it #
GET /archetypes/{cid-archetype}/adl Gets the specified archetype in ADL format. #
GET /archetypes/{cid-archetype}/xml Gets the specified archetype in XML format. #
GET /archetypes/{cid-archetype}/mindmap #
GET /change-requests Lists all or a selection of change requests. #
GET /change-requests/{cid} Gets one change request. #
GET /projects/{cid-project} Gets the specified CKM project. #
GET /projects Lists all or a selection of CKM projects (full projects and incubators). #
GET /resource-proposals Lists all or a selection of resource proposals. #
GET /resource-proposals/{cid} Gets one resource proposal. #
GET /resources/publisher-namespace Gets the currently configured publisher namespace for this CKM instance. #
GET /resources/{cid-resource} Gets a CKM Resource. Can be used for both an archetype or a template. #
GET /resources/{cid-resource}/status Gets the current status of the archetype or template in CKM. #
GET /resources/{cid-resource}/status/{asset-version} Gets the status of the archetype or template in CKM for the specified asset version (i.e. revision). #
GET /sessions Gets details about the current user, as identified by the session / security context. #
POST /sessions Sign in the user using basic authentication. The authentication header must be set accordingly for this. Note that in addition each api operation can be used to authenticate direct #
DELETE /sessions Sign out the user of the session. #
GET /subdomains/{cid-subdomain} Gets the main data of one CKM subdomain. #
GET /subdomains Lists the CKM subdomains. #
GET /subdomains/{cid-subdomain}/projects Gets the main data of all projects (full projects and incubators) of a specified CKM subdomain. Private incubators are only returned if accessible by the current user, if any. For #
GET /templates Lists all or a selection of templates in CKM. #
POST /templates Imports a new template into a CKM project. It is recommended to request the template validation report beforehand. #
GET /templates/{cid-template} Gets the main data of one template. #
PUT /templates/{cid-template} Updates the specified template on the trunk. It is recommended to request the template validation report beforehand. #
DELETE /templates/{cid-template} PERMANENTLY and IRREVOCABLY DELETES the specified template in CKM. For a trunk template, this will also PERMANENTLY DESTROY EVERYTHING that depends on this resource, including its #
GET /templates/{cid-template}/embedded-templates Lists the templates embedded in the specified template, if any. #
GET /templates/{cid-template}/required-archetypes Lists the archetypes required for (i.e. used by) the specified template. #
GET /templates/{cid-template}/oet Gets the specified template in OET format. #
GET /templates/{cid-template}/opt Gets the operational template (OPT) for the specified template. #
GET /templates/{cid-template}/hash Gets the MD5 hash of the specified template in OET format. #
GET /templates/{cid-template}/file-set-url Gets the URL for a file set of the template. The file set contains all relevant archetypes and templates. Note: For resources in private incubators, the session id must still be va #
GET /templates/{cid-template}/status Gets the current status of the template in CKM. #
PUT /templates/{cid-template}/status Updates the status of the specified trunk template. #
POST /templates/validation-report Gets CKM's template validation report for the template provided as OET. Validates if all required resources are present and used in the latest revision on the trunk. Note: This is #
GET /templates/{cid-template}/status/{asset-version} Gets the status of the template in CKM for the specified asset version (i.e. revision). #
GET /templates/{cid-template}/project Gets the CKM project of the template. #
GET /templates/citeable-identifier/{template-id} Gets the citeable identifier of a template based on the specified template id. #
POST /users Creates a new user. The stated username must match the firstName and lastName (firstname.lastname), ignoring case and removing whitespace. If successful, depending on the value of #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ckm-rest-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ocean-health-systems-ckm-rest-api-openapi.json Raw ↑
{"swagger":"2.0","info":{"description":"REST API for the Clinical Knowledge Manager.","version":"1.6.0","title":"CKM REST API","contact":{"name":"CKM Support","url":"https://oceanehr.atlassian.net/servicedesk/customer/portal/15","email":"ckm@oceaninformatics.com"}},"basePath":"/ckm/rest/v1","tags":[{"name":"Archetypes","description":"Endpoint for archetype-related services, including listing and getting archetypes."},{"name":"Templates","description":"Endpoint for template-related services, including listing and getting templates."},{"name":"Resources","description":"Endpoint for generic resources, including archetypes and templates. May sometimes be easier to use."},{"name":"Projects","description":"Endpoint for project-related services, including listing and getting projects."},{"name":"Subdomains","description":"Endpoint for subdomain-related services, including listing and getting subdomains."},{"name":"Change Requests","description":"Endpoint for change request-related services, including listing and getting change requests."},{"name":"Resource Proposals","description":"Endpoint for resource proposal-related services, including listing and getting resource proposals."},{"name":"Users","description":"Endpoint for user-related services, including creating new users as an admin."},{"name":"Sessions","description":"Endpoint for creating a new user session or signing out."}],"paths":{"/archetypes/{cid-archetype}/hash":{"get":{"tags":["Archetypes"],"summary":"Gets the (non-canonical) MD5 hash of the specified archetype in ADL format.","description":"","operationId":"getArchetypeADLHash","produces":["text/plain"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"query","description":"The asset version of the archetype. Defaults to the latest.","required":false,"type":"integer","format":"int32"},{"name":"semantic-version","in":"query","description":"The semantic version of the archetype, for example 1.0.1 or 1.0.2-alpha. Only one, either the asset version or the semantic version, can be provided. Providing both will cause an error, and if neither is provided, the latest version will be used by default.","required":false,"type":"string"},{"name":"get-latest-published","in":"query","description":"If set to true, the latest published revision of the archetype is retrieved. If the resource has never been published a 404 error code is returned. If get-latest-published is set to true, the asset-version and semantic-version must not be specified. Defaults to false.","required":false,"type":"boolean","default":false}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's hash of the ADL."},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}}},"/archetypes/{cid-archetype}/parent":{"get":{"tags":["Archetypes"],"summary":"Gets main data about the specified archetype's parent archetype, if any.","description":"","operationId":"getParentArchetype","produces":["application/xml","application/json"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's parent.","schema":{"$ref":"#/definitions/CkmResource"}},"204":{"description":"The specified archetype was found, but it has no parent because it is not specialised. 204 is the sibling code for 200 OK, but without a response body."},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}}},"/archetypes/citeable-identifier/{archetype-id}":{"get":{"tags":["Archetypes"],"summary":"Gets the citeable identifier of an archetype based on the specified archetype id.","description":"","operationId":"getCiteableIdentifierForArchetypeId","produces":["text/plain"],"parameters":[{"name":"archetype-id","in":"path","description":"The archetype id of the archetype.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's citeable identifier.","schema":{"type":"string"}},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided archetype-id does not exist or is not accessible based on the provided credentials."}}}},"/archetypes/{cid-archetype}/status":{"get":{"tags":["Archetypes"],"summary":"Gets the current status of the archetype in CKM.","description":"","operationId":"getCurrentArchetypeStatus","produces":["text/plain"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's current status.","schema":{"type":"string","enum":["INITIAL","DRAFT","TEAMREVIEW","REVIEWSUSPENDED","RELEASECANDIDATE","PUBLISHED","REASSESS_DRAFT","REASSESS_TEAMREVIEW","REASSESS_REVIEWSUSPENDED","REJECTED","DEPRECATED"]}},"400":{"description":"General bad request."},"403":{"description":"Forbidden - the specified archetype does not have a status (branch archetype)."},"404":{"description":"The archetype could not be found (based on the provided credentials, if any)."}}}},"/archetypes/{cid-archetype}/status/{asset-version}":{"get":{"tags":["Archetypes"],"summary":"Gets the status of the archetype in CKM for the specified asset version (i.e. revision).","description":"","operationId":"getArchetypeStatusAtVersion","produces":["text/plain"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"path","description":"The asset version of the archetype.","required":true,"type":"integer","format":"int32"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's status at the specified asset-version.","schema":{"type":"string","enum":["INITIAL","DRAFT","TEAMREVIEW","REVIEWSUSPENDED","RELEASECANDIDATE","PUBLISHED","REASSESS_DRAFT","REASSESS_TEAMREVIEW","REASSESS_REVIEWSUSPENDED","REJECTED","DEPRECATED"]}},"400":{"description":"General bad request."},"403":{"description":"Forbidden - the specified archetype does not have a status (branch archetype)."},"404":{"description":"The archetype could not be found (based on the provided credentials), or the archetype could not be found in the stated asset-version."}}}},"/archetypes/{cid-archetype}/project":{"get":{"tags":["Archetypes"],"summary":"Gets the CKM project of the archetype.","description":"","operationId":"getProjectOfArchetype","produces":["application/xml","application/json"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's project.","schema":{"$ref":"#/definitions/Project"}},"400":{"description":"General bad request."},"404":{"description":"Archetype with provided citeable identifier (cid-archetype) does not exist or is not accessible based on the provided credentials or is not a trunk archetype."}}}},"/archetypes":{"get":{"tags":["Archetypes"],"summary":"Lists a selection of archetypes in CKM.","description":"","operationId":"listArchetypes","produces":["application/xml","application/json"],"parameters":[{"name":"cid-subdomain","in":"query","description":"Set to only list archetypes of the specified subdomain.","required":false,"type":"string"},{"name":"cid-project","in":"query","description":"Set to only list archetypes of the specified project.","required":false,"type":"string"},{"name":"project-type","in":"query","description":"Set to only list archetypes in projects of this type. Also note the 'owned-only' param.","required":false,"type":"string","enum":["PROJECT","INCUBATOR"]},{"name":"owned-only","in":"query","description":"Set to true to only list archetypes that are owned by the specified project/any projects of the specified project-type/any projects of the specified subdomain. Set to false (DEFAULT) to include archetypes referenced by the project(s) as well.","required":false,"type":"boolean","default":false},{"name":"search-text","in":"query","description":"Set to only list archetypes with this search text in the archetype meta data.","required":false,"type":"string"},{"name":"restrict-search-to-main-data","in":"query","description":"Restrict search to main data of the archetype. If true, ONLY finds the search text in archetype id, concept name, and descriptive data such as author, purpose, use, misuse, keywords. If false, includes all meta data, the archetype definition, and the archetype's ontology in the search. Defaults to false (=non-restricted).","required":false,"type":"boolean","default":false},{"name":"require-all-search-words","in":"query","description":"If multiple search words, should ALL words be required (true = DEFAULT), or is ANY sufficient (false).","required":false,"type":"boolean","default":true},{"name":"resource-state","in":"query","description":"Set to only list archetypes with the states resource states. Defaults to all active resource states, i.e. all states except REJECTED and DEPRECATED.","required":false,"type":"array","items":{"type":"string","enum":["INITIAL","DRAFT","TEAMREVIEW","REVIEWSUSPENDED","PUBLISHED","REASSESS_DRAFT","REASSESS_TEAMREVIEW","REASSESS_REVIEWSUSPENDED","REJECTED","DEPRECATED"]},"collectionFormat":"multi"},{"name":"class","in":"query","description":"Set to only list archetypes that are classified in/indexed with the specified scheme + class (term). Usage: scheme:class/subclass, where scheme, class and subclasses must be written exactly as is in the original language (no translations). The scheme is separated from the class using \":\" and subclasses are separated by \"/\". For example: Health Domain:Surgery/General Surgery. If a slash \"/\" is used in a class name itself, this must be replaced with a pipe symbol \"|\". For the language scheme, simply use the available ISO 639-1 language codes (2 digits), e.g. 'en', 'nb',  or 'de'. For regional variants, use e.g.: 'en/en-au'.","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"require-all-classes","in":"query","description":"If multiple classes (terms) have been specified, should ALL be required (true), or is ANY sufficient (false = DEFAULT).","required":false,"type":"boolean","default":false},{"name":"include-subclasses","in":"query","description":"If one or more classes (terms) have been specified, should subclasses be included (true) or not (false = DEFAULT).","required":false,"type":"boolean","default":false},{"name":"start-date","in":"query","description":"Set to only list archetypes last modified on or after this date/time.Expected date format is the ISO Date Time format, e.g. 2025-03-02T10:15:30+01:00. If the timezone offset is omitted (e.g. 2025-03-02T10:15:30), the server timezone offset is used. If, in addition, the time is omitted (2025-03-02), this defaults to the start of the specified day in the server timezone offset.","required":false,"type":"string"},{"name":"end-date","in":"query","description":"Set to only list archetypes modified up to the specified date/time. Expected date format is the ISO Date Time format, e.g. 2025-03-02T10:15:30+01:00. If the timezone offset is omitted (e.g. 2025-03-02T10:15:30), the server timezone offset is used. If, in addition, the time is omitted (2025-03-02), this defaults to the start(!) of the specified day in the server timezone offset.","required":false,"type":"string"},{"name":"language","in":"query","description":"The preferred language to retrieve the archetype concept names in, eg. 'en' or 'de'. Defaults to the server language. Automatic fallbacks.","required":false,"type":"string"},{"name":"size","in":"query","description":"The maximum number of archetypes returned in the call. <b>Defaults to 20.</b> Response header contains x-total-count to indicate the total number of results. The size should not be set too high - offset can be used to retrieve further results.","required":false,"type":"integer","default":20,"format":"int32"},{"name":"offset","in":"query","description":"The offset when not listing all archetypes. Defaults to 0, i.e. starting with the first archetype.","required":false,"type":"integer","format":"int32"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the main data of all requested archetypes.","schema":{"type":"array","items":{"$ref":"#/definitions/CkmResource"}}},"400":{"description":"General bad request."}}},"post":{"tags":["Archetypes"],"summary":"Imports a new archetype into a CKM project.  Archetypes are imported using the import type \"Create new archetype\". Therefore, if you want to create a fork of the archetype, please upload the archetype using the CKM User Interface, because copyright and references may need to be adapted manually.","description":"","operationId":"importArchetype","consumes":["text/plain"],"produces":["application/xml","application/json"],"parameters":[{"in":"body","name":"body","description":"The complete ADL serialisation as a string.","required":true,"schema":{"type":"string"}},{"name":"cid-project","in":"query","description":"The citeable identifier of the project to import the new archetype into.","required":true,"type":"string"},{"name":"log-message","in":"query","description":"A log message for the import.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"201":{"description":"Successful import of the new archetype.","schema":{"$ref":"#/definitions/CkmResource"}},"400":{"description":"General bad request, such as that the provided ADL format is invalid (unparsable) or there were fatal validation errors. Provided project may not be valid."},"403":{"description":"Forbidden to import this archetype for one of many reasons. For example: archetype with the provided archetype id already exists in CKM. Or the user is not allowed to upload to the stated project based on the provided credentials. "}}}},"/archetypes/{cid-archetype}":{"get":{"tags":["Archetypes"],"summary":"Gets the main data of one archetype.","description":"","operationId":"getArchetypeAsCKMResource","produces":["application/xml","application/json"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"query","description":"The asset version of the archetype. Defaults to the latest.","required":false,"type":"integer","format":"int32"},{"name":"semantic-version","in":"query","description":"The semantic version of the archetype, for example 1.0.1 or 1.0.2-alpha. Only one, either the asset version or the semantic version, can be provided. Providing both will cause an error, and if neither is provided, the latest version will be used by default.","required":false,"type":"string"},{"name":"get-latest-published","in":"query","description":"If set to true, the latest published revision of the archetype is retrieved. If the resource has never been published a 404 error code is returned. If get-latest-published is set to true, the asset-version and semantic-version must not be specified. Defaults to false.","required":false,"type":"boolean","default":false},{"name":"language","in":"query","description":"The preferred language to retrieve the concept name in. Defaults to the server language. Automatic fallbacks.","required":false,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's main data.","schema":{"$ref":"#/definitions/CkmResource"}},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}},"put":{"tags":["Archetypes"],"summary":"Updates the stated archetype on the trunk. NB: Only archetypes that have NOT been published can be updated using the API. The submitted archetype MUST NOT change the current copyright or original namespace. The submitted archetype MUST NOT be identical to the current revision of the archetype. Manual upload via the CKM interface is required in these cases.","description":"","operationId":"updateArchetypeOnTrunk","consumes":["text/plain"],"produces":["application/xml","application/json"],"parameters":[{"in":"body","name":"body","description":"The complete ADL serialisation as a string.","required":true,"schema":{"type":"string"}},{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"log-message","in":"query","description":"A log message describing the update.","required":true,"type":"string"},{"name":"if-match","in":"header","description":"If this header is set, it must match the current asset-version of the resource in CKM. Otherwise the import is cancelled with a 412 (Precondition failed) error.","required":false,"type":"string"},{"name":"if-unmodified-since","in":"header","description":"If this header is set, the newest asset version of the resource must be older than the specified date. Otherwise the import is cancelled with a 412 (Precondition failed) error.<br/> Expected date format is the ISO Date Time format, e.g. 2025-03-02T10:15:30+01:00. If the timezone offset is omitted (e.g. 2025-03-02T10:15:30), the server timezone offset is used. If, in addition, the time is omitted (2025-03-02), this defaults to the start of the specified day in the server timezone offset.","required":false,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful update of the archetype.","schema":{"$ref":"#/definitions/CkmResource"}},"400":{"description":"General bad request, such as that the ADL format is invalid."},"403":{"description":"Forbidden to update this archetype for one of various reasons. For example, the user may not be allowed to upload to the archetype's project based on the provided credentials. Or, the provided archetype has changes that are not allowed to be submitted via the API (copyright changes, original namespace change, identical archetype) or would update a published archetype."},"404":{"description":"Archetype with provided citeable identifier and/or archetype id does not exist."},"412":{"description":"Precondition failed. A provided if-match or if-unmodified-since header precondition fails. This means the optimistic locking approach has found an update to the resource afterwards and has thus prevented the update."}}},"delete":{"tags":["Archetypes"],"summary":"PERMANENTLY and IRREVOCABLY DELETES the specified archetype in CKM. For a trunk archetype, this will also PERMANENTLY DESTROY EVERYTHING that depends on this resource, including its branches, review rounds, individual reviews, discussion comments, documents from the resource's resource centre, tasks from its to do list, change requests, etc.","description":"","operationId":"deleteArchetype","produces":["application/xml","application/json"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"delete-if-trunk","in":"query","description":"True to delete even if the specified cid refers to a trunk archetype. This will also delete all branches PERMANENTLY DESTROY EVERYTHING that depends on this resource, including its branches, review rounds, individual reviews, discussion comments, documents from the resource's resource centre, tasks from its to do list, change requests, etc. False to only proceed if the specified cid refers to a branch of an archetype.","required":false,"type":"boolean","default":false},{"name":"delete-if-published","in":"query","description":"True to delete even if the specified archetype is or has previously been PUBLISHED.","required":false,"type":"boolean","default":false}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"204":{"description":"Successful deletion of the archetype."},"400":{"description":"General bad request."},"403":{"description":"Forbidden - the specified archetype cannot be deleted with the provided credentials or because there are other restrictions or dependencies."},"404":{"description":"The archetype could not be found (based on the provided credentials, if any)."}}}},"/archetypes/{cid-archetype}/adl":{"get":{"tags":["Archetypes"],"summary":"Gets the specified archetype in ADL format.","description":"","operationId":"getArchetypeInADL","produces":["text/plain"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"query","description":"The asset version of the archetype. Defaults to the latest.","required":false,"type":"integer","format":"int32"},{"name":"semantic-version","in":"query","description":"The semantic version of the archetype, for example 1.0.1 or 1.0.2-alpha. Only one, either the asset version or the semantic version, can be provided. Providing both will cause an error, and if neither is provided, the latest version will be used by default.","required":false,"type":"string"},{"name":"get-latest-published","in":"query","description":"If set to true, the latest published revision of the archetype is retrieved. If the resource has never been published a 404 error code is returned. If get-latest-published is set to true, the asset-version and semantic-version must not be specified. Defaults to false.","required":false,"type":"boolean","default":false}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's ADL."},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}}},"/archetypes/{cid-archetype}/xml":{"get":{"tags":["Archetypes"],"summary":"Gets the specified archetype in XML format.","description":"","operationId":"getArchetypeInXML","produces":["application/xml"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"query","description":"The asset version of the archetype. Defaults to the latest.","required":false,"type":"integer","format":"int32"},{"name":"semantic-version","in":"query","description":"The semantic version of the archetype, for example 1.0.1 or 1.0.2-alpha. Only one, either the asset version or the semantic version, can be provided. Providing both will cause an error, and if neither is provided, the latest version will be used by default.","required":false,"type":"string"},{"name":"get-latest-published","in":"query","description":"If set to true, the latest published revision of the archetype is retrieved. If the resource has never been published a 404 error code is returned. If get-latest-published is set to true, the asset-version and semantic-version must not be specified. Defaults to false.","required":false,"type":"boolean","default":false}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's XML."},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}}},"/archetypes/{cid-archetype}/mindmap":{"get":{"tags":["Archetypes"],"operationId":"getArchetypeMindmap","produces":["application/xml"],"parameters":[{"name":"cid-archetype","in":"path","description":"The citeable identifier of the archetype.","required":true,"type":"string"},{"name":"asset-version","in":"query","description":"The asset version of the archetype. Defaults to the latest.","required":false,"type":"integer","format":"int32"},{"name":"semantic-version","in":"query","description":"The semantic version of the archetype, for example 1.0.1 or 1.0.2-alpha. Only one, either the asset version or the semantic version, can be provided. Providing both will cause an error, and if neither is provided, the latest version will be used by default.","required":false,"type":"string"},{"name":"get-latest-published","in":"query","description":"If set to true, the latest published revision of the archetype is retrieved. If the resource has never been published a 404 error code is returned. If get-latest-published is set to true, the asset-version and semantic-version must not be specified. Defaults to false.","required":false,"type":"boolean","default":false},{"name":"language","in":"query","description":"The preferred language for any values from the archetype. Defaults to the server language. Automatic fallbacks.","required":false,"type":"string"},{"name":"locale","in":"query","description":"The preferred locale for any locale-specific strings in the mindmap. Defaults to the server language.","required":false,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the archetype's mindmap."},"400":{"description":"General bad request."},"404":{"description":"An archetype with the provided citeable identifier (cid-archetype) does not exist or does not exist in the specified asset-version, semantic-version or (in case of get-latest-published) has never been published. Alternatively, the archetype may not be accessible based on the provided credentials."}}}},"/change-requests":{"get":{"tags":["Change Requests"],"summary":"Lists all or a selection of change requests.","description":"","operationId":"listChangeRequests","produces":["application/xml","application/json"],"parameters":[{"name":"cid-resource","in":"query","description":"Set to only list change requests of the specified resource.","required":false,"type":"string"},{"name":"resource-type","in":"query","description":"Set to only list change requests of specified resource type (archetype, template, ...).","required":false,"type":"string","enum":["ARCHETYPE","TEMPLATE","TERMSET","RELEASESET"]},{"name":"priority","in":"query","description":"Set to only list change requests with the specified priority. Defaults to all.","required":false,"type":"string","enum":["NORMAL","PRIORITY"]},{"name":"status","in":"query","description":"Set to only list change requests with the specified status (open, in-process, closed). Defaults to active states only, i.e. open and in-process.","required":false,"type":"array","items":{"type":"string","enum":["OPEN","IN_PROCESS","CLOSED"]},"collectionFormat":"multi"},{"name":"start-date","in":"query","description":"Set to only list change requests created or last modified on or after this date/time. Expected date format is the ISO Date Time format, e.g. 2024-12-19T10:15:30+01:00. If the timezone offset is omitted (e.g. 2024-12-19T10:15:30), the server timezone offset is used. If, in addition, the time is omitted (2024-12-19), this defaults to the start of the specified day in the server timezone offset.","required":false,"type":"string"},{"name":"end-date","in":"query","description":"Set to only list change requests created or last modificed up to the specified date/time.Expected date format is the ISO Date Time format, e.g. 2024-12-19T10:15:30+01:00. If the timezone offset is omitted (e.g. 2024-12-19T10:15:30), the server timezone offset is used. If, in addition, the time is omitted (2024-12-19), this defaults to the start(!) of the specified day in the server timezone offset.","required":false,"type":"string"},{"name":"size","in":"query","description":"The maximum number of change requests returned in the call. <b>Defaults to 20.</b> The size should not be set too high - offset can be used to retrieve further results.Response header contains x-total-count to indicate the total number of resulting change requests. Note that for users with limited rights, non-public change requests may be excluded from the result set even if counted as part of the x-total-count. ","required":false,"type":"integer","default":20,"format":"int32"},{"name":"offset","in":"query","description":"The offset when not listing all change requests. Defaults to 0, i.e. starting with the first change request.","required":false,"type":"integer","format":"int32"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the requested change requests.","schema":{"type":"array","items":{"$ref":"#/definitions/ChangeRequest"}}},"400":{"description":"General bad request."}}}},"/change-requests/{cid}":{"get":{"tags":["Change Requests"],"summary":"Gets one change request.","description":"","operationId":"getChangeRequest","produces":["application/xml","application/json"],"parameters":[{"name":"cid","in":"path","description":"The citeable identifier of the change request.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the change request.","schema":{"$ref":"#/definitions/ChangeRequest"}},"400":{"description":"General bad request."},"404":{"description":"A change request with the specified citeable identifier does not exist (or is not visible to the current user)."}}}},"/projects/{cid-project}":{"get":{"tags":["Projects"],"summary":"Gets the specified CKM project.","description":"","operationId":"getProject","produces":["application/xml","application/json"],"parameters":[{"name":"cid-project","in":"path","description":"The citeable identifier of the project.","required":true,"type":"string"}],"security":[{"basicAuth":[]},{"sessionid":[]}],"responses":{"200":{"description":"Successful retrieval of the main data of the requested project.","schema":{"$ref":"#/definitions/Project"}},"400":{"description":"General bad request."},"404":{"description":"Project with the specified cid-project could not be found (or is private and the specified user, if any, does not have the necesary permissions."}}}},"/projects":{"get":{"tags":["Projects"],"summary":"Lists all or a selection of CKM projects (full projects and incubators).","description":"","operationId":"listProjects","produces":["application/xml","application/json"],"parameters":[{"name":"cid-subdomain","in":"query","description":"Set to only list projects of the specified subdomain.","required":false,"type":"string"},{"name":"project-type","in":"query","description":"Set to only list projects of this type (full projects or incubators).","required":false,"type":"string","enum":["PROJECT","INCUBATOR"]},{"name":"include-order-template-projects","in":"query","description":"True to list order template projects as well, false to exclude such projects. Defaults to true.","required":false,"type":"boolean","default":true},{"name":"my-projects-only","in":"query","description":"Set to true to only list projects where the current user has any explicit role such as member or editor. Defaults to false.","required":false,"type":"boolean","default":false},{"name":"my-editor-projects-only","in":"query","description":"Set to true to only list projects where the current user is an explicit editor of. Defaults to false.","required":false,"type":"boolean

# --- truncated at 32 KB (84 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ocean-health-systems/refs/heads/main/openapi/ocean-health-systems-ckm-rest-api-openapi.json