{ "opencollection": "1.0.0", "info": { "name": "DSP Admin API API v2 API", "version": "v35.10.0" }, "items": [ { "info": { "name": "API v2", "type": "folder" }, "items": [ { "info": { "name": "getV2Authentication", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/authentication", "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "postV2Authentication", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/authentication", "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "deleteV2Authentication", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/authentication" } }, { "info": { "name": "getV2ListsListiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/lists/:listIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "listIri", "value": "http://rdfh.ch/lists/0001/FCIjX3J7R8SburI_yz7oeA", "type": "path", "description": "The iri to a list." }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list (a graph with all list nodes)." }, { "info": { "name": "getV2NodeListiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/node/:listIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "listIri", "value": "http://rdfh.ch/lists/0001/FCIjX3J7R8SburI_yz7oeA", "type": "path", "description": "The iri to a list." }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list node." }, { "info": { "name": "getV2ResourcesInfo", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/info", "headers": [ { "name": "x-knora-accept-project", "value": "" } ], "params": [ { "name": "resourceClass", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query", "description": "Sort the results in ascending (asc) or descending (desc) order." }, { "name": "orderBy", "value": "", "type": "query", "description": "Sort the results by the specified property." } ] }, "docs": "Get information about resources of a specific class in a project. Publicly accessible." }, { "info": { "name": "getV2ValuesResourceiriValueuuid", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/values/:resourceIri/:valueUuid", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path", "description": "The IRI of a Resource." }, { "name": "valueUuid", "value": "", "type": "path", "description": "The UUID of a Value." }, { "name": "version", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a value of a resource. Publicly accessible. Requires appropriate object access permissions on the resource. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "postV2Values", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/values", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new value for a resource. Requires appropriate object access permissions on the resource. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "putV2Values", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/values", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a value of a resource. Requires appropriate object access permissions on the resource. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "putV2ValuesOrder", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/values/order", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Reorder values of a property on a resource. Requires modify permission on the resource. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "postV2ValuesDelete", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/values/delete", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark a value as deleted. Requires appropriate object access permissions on the resource. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "postV2ValuesErase", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/values/erase", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Erase a Value and all of its old versions from the database completely. Requires SystemAdmin permissions. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "postV2ValuesErasehistory", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/values/erasehistory", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Erase all old versions of a Value from the database completely and keep only the latest version. Requires SystemAdmin permissions. Find detailed documentation on docs.dasch.swiss." }, { "info": { "name": "getV2MetadataProjectsProjectshortcodeResources", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/metadata/projects/:projectShortcode/resources", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "format", "value": "", "type": "query", "description": "The format of the response." }, { "name": "classIris", "value": "", "type": "query", "description": "List of resource class IRIs to filter the resources. If not present, all resources of the project will be returned." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get metadata of all resources in a project. The metadata is returned with complex schema IRIs in the payload. This endpoint is only available for system and project admins." }, { "info": { "name": "getV2ResourcesCandelete", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/candelete", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "jsonLd", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check if a resource can be deleted. Publicly accessible. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2GraphResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/graph/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "depth", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query" }, { "name": "excludeProperty", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a graph of resources starting from a specific resource. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2ResourcesIiifmanifestResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/iiifmanifest/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the IIIF manifest for a resource. Publicly accessible. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2Resourcespreview", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resourcespreview", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a preview of one or more resources. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2ResourcesProjecthistoryeventsProjectiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/projectHistoryEvents/:projectIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "projectIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get history events for all resources in a project. Publicly accessible. Requires appropriate object access permissions." }, { "info": { "name": "getV2ResourcesResourcehistoryeventsResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/resourceHistoryEvents/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get history events for a specific resource. Publicly accessible. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2ResourcesHistoryResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources/history/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "startDate", "value": "", "type": "query" }, { "name": "start date", "value": "", "type": "query" }, { "name": "endDate", "value": "", "type": "query" }, { "name": "end date", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the version history of a resource. Publicly accessible. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2Resources", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/resources", "headers": [ { "name": "x-knora-accept-project", "value": "" }, { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceClass", "value": "", "type": "query" }, { "name": "orderByProperty", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for resources by class and project. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "postV2Resources", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/resources", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new resource. Requires appropriate object access permissions." }, { "info": { "name": "putV2Resources", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/resources", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update resource metadata. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2TeiResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/tei/:resourceIri", "params": [ { "name": "resourceIri", "value": "", "type": "path" }, { "name": "mappingIri", "value": "", "type": "query" }, { "name": "textProperty", "value": "", "type": "query" }, { "name": "gravsearchTemplateIri", "value": "", "type": "query" }, { "name": "headerXSLTIri", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a resource as TEI/XML. Publicly accessible. Requires appropriate object access permissions on the resource." }, { "info": { "name": "postV2ResourcesErase", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/resources/erase", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Erase a Resource and all of its values from the database completely. Requires SystemAdmin or ProjectAdmin permissions for the resource's project." }, { "info": { "name": "postV2ResourcesDelete", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/resources/delete", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Mark a resource as deleted. Requires appropriate object access permissions on the resource." }, { "info": { "name": "getV2SearchSearchterm", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/search/:searchTerm", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "searchTerm", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "offset", "value": "", "type": "query", "description": "The offset to be used for paging." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." }, { "name": "limitToResourceClass", "value": "", "type": "query", "description": "The resource class to limit the search to." }, { "name": "limitToStandoffClass", "value": "", "type": "query", "description": "The standoff class to limit the search to." }, { "name": "returnFiles", "value": "", "type": "query", "description": "Whether to return files in the search results." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Full-text search for resources. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchCountSearchterm", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/search/count/:searchTerm", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "searchTerm", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." }, { "name": "limitToResourceClass", "value": "", "type": "query", "description": "The resource class to limit the search to." }, { "name": "limitToStandoffClass", "value": "", "type": "query", "description": "The standoff class to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Count full-text search results. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchbylabelSearchterm", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchbylabel/:searchTerm", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "searchTerm", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "offset", "value": "", "type": "query", "description": "The offset to be used for paging." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." }, { "name": "limitToResourceClass", "value": "", "type": "query", "description": "The resource class to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for resources by label. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchbylabelCountSearchterm", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchbylabel/count/:searchTerm", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "searchTerm", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." }, { "name": "limitToResourceClass", "value": "", "type": "query", "description": "The resource class to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Count resources by label. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "postV2Searchextended", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/searchextended", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for resources using a Gravsearch query. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchextendedP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchextended/:p1", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "p1", "value": "", "type": "path", "description": "The Gravsearch query. See https://docs.dasch.swiss/latest/DSP-API/03-endpoints/api-v2/query-language/" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for resources using a Gravsearch query. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "postV2SearchextendedCount", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/searchextended/count", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Count resources using a Gravsearch query. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchextendedCountP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchextended/count/:p1", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "p1", "value": "", "type": "path", "description": "The Gravsearch query. See https://docs.dasch.swiss/latest/DSP-API/03-endpoints/api-v2/query-language/" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Count resources using a Gravsearch query. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchincominglinksResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchIncomingLinks/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path", "description": "The IRI of the resource to retrieve" }, { "name": "offset", "value": "", "type": "query", "description": "The offset to be used for paging." }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for incoming links using a Gravsearch query with an offset. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchstillimagerepresentationsResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchStillImageRepresentations/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path", "description": "The IRI of the resource to retrieve" }, { "name": "offset", "value": "", "type": "query", "description": "The offset to be used for paging." }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for StillImageRepresentations using a Gravsearch query with an offset. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchstillimagerepresentationscountResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchStillImageRepresentationsCount/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path", "description": "The IRI of the resource to retrieve" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Count SearchStillImageRepresentations using a Gravsearch query. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "getV2SearchincomingregionsResourceiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/searchIncomingRegions/:resourceIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceIri", "value": "", "type": "path", "description": "The IRI of the resource to retrieve" }, { "name": "offset", "value": "", "type": "query", "description": "The offset to be used for paging." }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "limitToProject", "value": "", "type": "query", "description": "The project to limit the search to." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search for incoming regions using a Gravsearch query with an offset. Publicly accessible. Requires appropriate object access permissions on the resources." }, { "info": { "name": "postV2Mapping", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/mapping", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a standoff mapping for XML to standoff conversion. Requires authentication." }, { "info": { "name": "getV2OntologiesMetadata", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/metadata", "headers": [ { "name": "x-knora-accept-project", "value": "" }, { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ] }, "docs": "Get the metadata of an ontology. Publicly accessible." }, { "info": { "name": "putV2OntologiesMetadata", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/metadata", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change the metadata of an ontology. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "getOntology", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/ontology", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "allLanguages", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "This is the route used to dereference an actual ontology IRI. If the URL path looks like it belongs to a built-in API ontology (which has to contain \"knora-api\"), prefix it with http://api.knora.org to get the ontology IRI. Otherwise, if it looks like it belongs to a project-specific API ontology, prefix it with routeData.appConfig.externalOntologyIriHostAndPort to get the ontology IRI." }, { "info": { "name": "getV2OntologiesAllentitiesOntologyiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/allentities/:ontologyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "ontologyIri", "value": "", "type": "path" }, { "name": "allLanguages", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all entities of an ontology. Publicly accessible." }, { "info": { "name": "getV2OntologiesCanreplacecardinalitiesResourceclassiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/canreplacecardinalities/:resourceClassIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceClassIri", "value": "", "type": "path" }, { "name": "propertyIri", "value": "", "type": "query" }, { "name": "newCardinality", "value": "1-n", "type": "query", "description": "The new cardinality to be set for the property, must be provided when propertyIri is given. Valid values are: 1-n, 1, 0-n, 0-1" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "If only a class IRI is provided, this endpoint checks if any cardinality of any of the class properties can be replaced. If a property IRI and a new cardinality are provided, it checks if the cardinality can be set for the property on the specific class. Fails if not both a property IRI and a new cardinality is provided. Fails if the user does not have write access to the ontology of the class." }, { "info": { "name": "getV2OntologiesClassesClassiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/classes/:classIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "classIri", "value": "", "type": "path" }, { "name": "allLanguages", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a class definition by IRI. Publicly accessible." }, { "info": { "name": "getV2OntologiesCandeleteclassResourceclassiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/candeleteclass/:resourceClassIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceClassIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check if a class can be deleted. Publicly accessible." }, { "info": { "name": "getV2OntologiesPropertiesPropertyiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/properties/:propertyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "propertyIri", "value": "", "type": "path" }, { "name": "allLanguages", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a property definition by IRI. Publicly accessible." }, { "info": { "name": "deleteV2OntologiesPropertiesPropertyiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/properties/:propertyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "propertyIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "lastModificationDate", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a property from an ontology. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "getV2OntologiesCandeletepropertyPropertyiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/candeleteproperty/:propertyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "propertyIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check if a property can be deleted. Publicly accessible." }, { "info": { "name": "getV2OntologiesCandeleteontologyOntologyiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/v2/ontologies/candeleteontology/:ontologyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "ontologyIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check if an ontology can be deleted. Requires authentication." }, { "info": { "name": "deleteV2OntologiesClassesCommentResourceclassiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/classes/comment/:resourceClassIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceClassIri", "value": "", "type": "path" }, { "name": "lastModificationDate", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete the comment of a class definition. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "deleteV2OntologiesClassesResourceclassiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/classes/:resourceClassIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "resourceClassIri", "value": "", "type": "path" }, { "name": "lastModificationDate", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a class from an ontology. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "deleteV2OntologiesCommentOntologyiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/comment/:ontologyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "ontologyIri", "value": "", "type": "path" }, { "name": "lastModificationDate", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete the comment of an ontology. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "deleteV2OntologiesPropertiesCommentPropertyiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/properties/comment/:propertyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "propertyIri", "value": "", "type": "path" }, { "name": "lastModificationDate", "value": "", "type": "query" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete the comment of a property definition. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "deleteV2OntologiesOntologyiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/v2/ontologies/:ontologyIri", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "ontologyIri", "value": "", "type": "path" }, { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." }, { "name": "lastModificationDate", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete an ontology. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "postV2OntologiesCardinalities", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/ontologies/cardinalities", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add cardinalities to a class. Requires ProjectAdmin permissions for the ontology's project. For more info check out the documentation." }, { "info": { "name": "putV2OntologiesCardinalities", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/cardinalities", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update cardinalities of a class. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "patchV2OntologiesCardinalities", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.dasch.swiss:443/v2/ontologies/cardinalities", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete cardinalities from a class. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "postV2OntologiesClasses", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/ontologies/classes", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new class. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "putV2OntologiesClasses", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/classes", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change the labels or comments of a class. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "postV2OntologiesCandeletecardinalities", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/ontologies/candeletecardinalities", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check if cardinalities can be deleted from a class. Publicly accessible." }, { "info": { "name": "postV2OntologiesProperties", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/ontologies/properties", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new property. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "putV2OntologiesProperties", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/properties", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a property's labels or comments. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "postV2Ontologies", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/v2/ontologies", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new ontology. Requires ProjectAdmin permissions for the project." }, { "info": { "name": "putV2OntologiesGuiorder", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/guiorder", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the GUI order of properties in a class. Requires ProjectAdmin permissions for the ontology's project." }, { "info": { "name": "putV2OntologiesPropertiesGuielement", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/v2/ontologies/properties/guielement", "headers": [ { "name": "x-knora-accept-schema", "value": "" }, { "name": "x-knora-json-ld-rendering", "value": "" }, { "name": "x-knora-accept-markup", "value": "" } ], "params": [ { "name": "schema", "value": "", "type": "query", "description": "The ontology schema to be used for the request.\nIf not specified, the default schema ApiV2Complex will be used." }, { "name": "markup", "value": "", "type": "query", "description": "The markup rendering to be used for the request (XML or standoff)." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the GUI element of a property. Requires ProjectAdmin permissions for the ontology's project." } ] } ], "bundled": true }