{ "opencollection": "1.0.0", "info": { "name": "DSP Admin API API", "version": "v35.10.0" }, "items": [ { "info": { "name": "Admin API", "type": "folder" }, "items": [ { "info": { "name": "getAdminFilesProjectshortcodeFilename", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/files/:projectShortcode/:filename", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "filename", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the permission code and the project's restricted view settings for a given shortcode and filename. Publicly accessible." }, { "info": { "name": "getAdminGroups", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/groups" }, "docs": "Return all groups. Publicly accessible." }, { "info": { "name": "Create new group", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/groups", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create new group. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminGroupsGroupiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/groups/:groupIri", "params": [ { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ] }, "docs": "Return a single group identified by its IRI. Publicly accessible." }, { "info": { "name": "putAdminGroupsGroupiri", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/groups/:groupIri", "params": [ { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a group's basic information. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "deleteAdminGroupsGroupiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/groups/:groupIri", "params": [ { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a group by changing its status to 'false'. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "getAdminGroupsGroupiriMembers", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/groups/:groupIri/members", "params": [ { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Return all members of a single group. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "putAdminGroupsGroupiriStatus", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/groups/:groupIri/status", "params": [ { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a group's status. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "getAdminLists", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0042", "type": "query", "description": "The (optional) IRI of the project." }, { "name": "projectShortcode", "value": "0042", "type": "query", "description": "The (optional) shortcode of the project." } ] }, "docs": "Get all lists or all lists belonging to a project. Note that you can provide either a project IRI or a project shortcode. Publicly accessible." }, { "info": { "name": "postAdminLists", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/lists", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new list by creating the root node of the list. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminListsP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ] }, "docs": "Returns a list node, root or child, with children (if exist). Publicly accessible." }, { "info": { "name": "postAdminListsP1", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/lists/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new list node as a child of the specified list node. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "putAdminListsP1", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/lists/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a list node's properties. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "deleteAdminListsP1", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/lists/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a list node. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "getAdminListsP1Info", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists/:p1/info", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ] }, "docs": "Returns basic information about a list node, root or child, w/o children (if exist). Publicly accessible." }, { "info": { "name": "getAdminListsInfosP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists/infos/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ] }, "docs": "*Deprecated*. Use GET admin/lists//info instead. Returns basic information about a list node, root or child, w/o children (if exist). Publicly accessible." }, { "info": { "name": "getAdminListsNodesP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists/nodes/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ] }, "docs": "*Deprecated*. Use GET admin/lists//info instead. Returns basic information about a list node, root or child, w/o children (if exist). Publicly accessible." }, { "info": { "name": "getAdminListsCandeleteP1", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/lists/candelete/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ] }, "docs": "Checks if a list can be deleted (none of its nodes is used in data)." }, { "info": { "name": "putAdminListsP1Name", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/lists/:p1/name", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a list node's name. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "putAdminListsP1Labels", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/lists/:p1/labels", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a list node's labels. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "putAdminListsP1Comments", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/lists/:p1/comments", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a list node's comments. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "putAdminListsP1Position", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/lists/:p1/position", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a list node's position. Requires SystemAdmin or ProjectAdmin permissions for the list's project." }, { "info": { "name": "deleteAdminListsCommentsP1", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/lists/comments/:p1", "params": [ { "name": "p1", "value": "", "type": "path", "description": "The IRI of the list." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a list node's comments. Requires authentication." }, { "info": { "name": "postAdminMaintenanceAction-name", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/maintenance/:action-name", "params": [ { "name": "action-name", "value": "fix-top-left", "type": "path", "description": "The name of the maintenance action to be executed.\nMaintenance actions are executed asynchronously in the background.\n" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Execute a maintenance action. Requires SystemAdmin permissions." }, { "info": { "name": "postAdminPermissionsAp", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/permissions/ap", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new administrative permission. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminPermissionsApProjectiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/permissions/ap/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all administrative permissions for a project. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminPermissionsApProjectiriGroupiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/permissions/ap/:projectIri/:groupIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." }, { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all administrative permissions for a project and a group. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminPermissionsDoapProjectiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/permissions/doap/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all default object access permissions for a project. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminPermissionsProjectiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/permissions/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all permissions for a project. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "putAdminPermissionsDoapPermissioniri", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/permissions/doap/:permissionIri", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update an existing default object access permission. The request may update the hasPermission and/or any allowed combination of group, resource class and property for the permission. Requires SystemAdmin permissions." }, { "info": { "name": "putAdminPermissionsPermissioniriGroup", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/permissions/:permissionIri/group", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a permission's group. Requires SystemAdmin permissions." }, { "info": { "name": "putAdminPermissionsPermissioniriHaspermissions", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/permissions/:permissionIri/hasPermissions", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a permission's set of hasPermissions. Requires SystemAdmin permissions." }, { "info": { "name": "putAdminPermissionsPermissioniriProperty", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/permissions/:permissionIri/property", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a DAOP's property. Use `PUT /admin/permissions/doap/{permissionIri}` instead. Requires SystemAdmin permissions." }, { "info": { "name": "putAdminPermissionsPermissioniriResourceclass", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/permissions/:permissionIri/resourceClass", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a DOAP's resource class. Use `PUT /admin/permissions/doap/{permissionIri}` instead. Requires SystemAdmin permissions." }, { "info": { "name": "deleteAdminPermissionsPermissioniri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/permissions/:permissionIri", "params": [ { "name": "permissionIri", "value": "http://rdfh.ch/permissions/00FF/Mck2xJDjQ_Oimi_9z4aFaA", "type": "path", "description": "The IRI of a permission. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete an permission. Requires SystemAdmin permissions." }, { "info": { "name": "postAdminPermissionsDoap", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/permissions/doap", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new default object access permission. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeLegal-infoLicenses", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/licenses", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "page", "value": "", "type": "query", "description": "The number of the desired page to be returned." }, { "name": "page-size", "value": "", "type": "query", "description": "The number of items per page to be returned." }, { "name": "filter", "value": "", "type": "query", "description": "Filter the results." }, { "name": "order", "value": "", "type": "query", "description": "Sort the results in ascending (asc) or descending (desc) order." }, { "name": "showOnlyEnabled", "value": "", "type": "query", "description": "Show only enabled licenses if true." } ] }, "docs": "Get the available licenses for use within this project. Publicly accessible." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeLegal-infoLicensesLicenseiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/licenses/:licenseIri", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "licenseIri", "value": "http://rdfh.ch/licenses/cc-by-nc-4.0", "type": "path", "description": "The IRI of the license. Must be URL-encoded." } ] }, "docs": "Get a specific license by its IRI for use within this project. Publicly accessible." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeLegal-infoAuthorships", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/authorships", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "page", "value": "", "type": "query", "description": "The number of the desired page to be returned." }, { "name": "page-size", "value": "", "type": "query", "description": "The number of items per page to be returned." }, { "name": "filter", "value": "", "type": "query", "description": "Filter the results." }, { "name": "order", "value": "", "type": "query", "description": "Sort the results in ascending (asc) or descending (desc) order." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the allowed authorships for use within this project. The user must be project member, project admin or system admin." }, { "info": { "name": "putAdminProjectsShortcodeProjectshortcodeLegal-infoLicensesLicenseiriEnable", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/licenses/:licenseIri/enable", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "licenseIri", "value": "http://rdfh.ch/licenses/cc-by-nc-4.0", "type": "path", "description": "The IRI of the license. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Enable a license for use within this project. The user must be project admin or system admin." }, { "info": { "name": "putAdminProjectsShortcodeProjectshortcodeLegal-infoLicensesLicenseiriDisable", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/licenses/:licenseIri/disable", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "licenseIri", "value": "http://rdfh.ch/licenses/cc-by-nc-4.0", "type": "path", "description": "The IRI of the license. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Disable a license for use within this project. The user must be project admin or system admin." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeLegal-infoCopyright-holders", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/copyright-holders", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "page", "value": "", "type": "query", "description": "The number of the desired page to be returned." }, { "name": "page-size", "value": "", "type": "query", "description": "The number of items per page to be returned." }, { "name": "filter", "value": "", "type": "query", "description": "Filter the results." }, { "name": "order", "value": "", "type": "query", "description": "Sort the results in ascending (asc) or descending (desc) order." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the allowed copyright holders for use within this project. The user must be project member, project admin or system admin." }, { "info": { "name": "postAdminProjectsShortcodeProjectshortcodeLegal-infoCopyright-holders", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/copyright-holders", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add new allowed copyright holders for use within this project. The user must be a system or project admin." }, { "info": { "name": "putAdminProjectsShortcodeProjectshortcodeLegal-infoCopyright-holders", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/legal-info/copyright-holders", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a particular allowed copyright holder for use within this project, does not update existing values on assets. The user must be a system admin." }, { "info": { "name": "getAdminProjects", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects" }, "docs": "Returns all projects. Publicly accessible." }, { "info": { "name": "postAdminProjects", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/projects", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new project. Requires SystemAdmin permissions." }, { "info": { "name": "getAdminProjectsKeywords", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/Keywords" }, "docs": "Returns all unique keywords for all projects as a list. Publicly accessible." }, { "info": { "name": "getAdminProjectsIriProjectiri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ] }, "docs": "Returns a single project identified by the IRI. Publicly accessible." }, { "info": { "name": "putAdminProjectsIriProjectiri", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a project identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "deleteAdminProjectsIriProjectiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a project identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcode", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ] }, "docs": "Returns a single project identified by the shortcode. Publicly accessible." }, { "info": { "name": "getAdminProjectsShortnameProjectshortname", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortname/:projectShortname", "params": [ { "name": "projectShortname", "value": "someShortname", "type": "path", "description": "The shortname of a project." } ] }, "docs": "Returns a single project identified by the shortname. Publicly accessible." }, { "info": { "name": "getAdminProjectsIriProjectiriKeywords", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/Keywords", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ] }, "docs": "Returns all keywords for a single project. Publicly accessible." }, { "info": { "name": "getAdminProjectsIriProjectiriRestrictedviewsettings", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/RestrictedViewSettings", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ] }, "docs": "Returns the project's restricted view settings identified by the IRI. Publicly accessible." }, { "info": { "name": "postAdminProjectsIriProjectiriRestrictedviewsettings", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/RestrictedViewSettings", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Sets the project's restricted view settings identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeRestrictedviewsettings", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/RestrictedViewSettings", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ] }, "docs": "Returns the project's restricted view settings identified by the shortcode. Publicly accessible." }, { "info": { "name": "postAdminProjectsShortcodeProjectshortcodeRestrictedviewsettings", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/RestrictedViewSettings", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Sets the project's restricted view settings identified by the shortcode. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortnameProjectshortnameRestrictedviewsettings", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortname/:projectShortname/RestrictedViewSettings", "params": [ { "name": "projectShortname", "value": "someShortname", "type": "path", "description": "The shortname of a project." } ] }, "docs": "Returns the project's restricted view settings identified by the shortname. Publicly accessible." }, { "info": { "name": "getAdminProjectsIriProjectiriAlldata", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/AllData", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all ontologies, data, and configuration belonging to a project identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsIriProjectiriMembers", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/members", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all project members of a project identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeMembers", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/members", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all project members of a project identified by the shortcode. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortnameProjectshortnameMembers", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortname/:projectShortname/members", "params": [ { "name": "projectShortname", "value": "someShortname", "type": "path", "description": "The shortname of a project." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all project members of a project identified by the shortname. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsIriProjectiriAdmin-members", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/iri/:projectIri/admin-members", "params": [ { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all admin members of a project identified by the IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortcodeProjectshortcodeAdmin-members", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/admin-members", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all admin members of a project identified by the shortcode. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "getAdminProjectsShortnameProjectshortnameAdmin-members", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/projects/shortname/:projectShortname/admin-members", "params": [ { "name": "projectShortname", "value": "someShortname", "type": "path", "description": "The shortname of a project." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all admin members of a project identified by the shortname. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "deleteAdminProjectsShortcodeProjectshortcodeErase", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/projects/shortcode/:projectShortcode/erase", "params": [ { "name": "projectShortcode", "value": "0001", "type": "path", "description": "The shortcode of a project. Must be a 4 digit hexadecimal String." }, { "name": "keepAssets", "value": "", "type": "query", "description": "If set to true the assets in ingest will not be removed." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "!ATTENTION! Erase a project with the given shortcode.\nThis will permanently and irrecoverably remove the project and all of its assets.\nRequires SystemAdmin permissions.\nOnly available if the feature has been configured on the server side." }, { "info": { "name": "getAdminUsersIriUseririProject-memberships", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-memberships", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ] }, "docs": "Returns the user's project memberships for a user identified by their IRI. Publicly accessible." }, { "info": { "name": "getAdminUsersIriUseririProject-admin-memberships", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-admin-memberships", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ] }, "docs": "Returns the user's project admin memberships for a user identified by their IRI. Publicly accessible." }, { "info": { "name": "getAdminUsersIriUseririGroup-memberships", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/group-memberships", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ] }, "docs": "Returns the user's group memberships for a user identified by their IRI. Publicly accessible." }, { "info": { "name": "getAdminUsers", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns all users. Requires SystemAdmin or ProjectAdmin permissions in any project." }, { "info": { "name": "postAdminUsers", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/users", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new user. Requires SystemAdmin permissions to create a system administrator. Requires SystemAdmin or ProjectAdmin permissions in any project to create a regular user." }, { "info": { "name": "getAdminUsersIriUseriri", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a user identified by their IRI. Publicly accessible. Returns detailed information to SystemAdmin and the user themselves, restricted information to others." }, { "info": { "name": "deleteAdminUsersIriUseriri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a user identified by IRI (change status to false). Users can delete themselves. SystemAdmin can delete any user." }, { "info": { "name": "getAdminUsersEmailEmail", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/email/:email", "params": [ { "name": "email", "value": "jane@example.com", "type": "path", "description": "The user email. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a user identified by their Email. Publicly accessible. Returns detailed information to SystemAdmin and the user themselves, restricted information to others." }, { "info": { "name": "getAdminUsersUsernameUsername", "type": "http" }, "http": { "method": "GET", "url": "https://api.dasch.swiss:443/admin/users/username/:username", "params": [ { "name": "username", "value": "JaneDoe", "type": "path", "description": "The user name. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a user identified by their Username. Publicly accessible. Returns detailed information to SystemAdmin and the user themselves, restricted information to others." }, { "info": { "name": "postAdminUsersIriUseririProject-membershipsProjectiri", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-memberships/:projectIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add a user to a project identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "deleteAdminUsersIriUseririProject-membershipsProjectiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-memberships/:projectIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Remove a user from a project membership identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "postAdminUsersIriUseririProject-admin-membershipsProjectiri", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-admin-memberships/:projectIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add a user as an admin to a project identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "deleteAdminUsersIriUseririProject-admin-membershipsProjectiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/project-admin-memberships/:projectIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "projectIri", "value": "http://rdfh.ch/projects/0001", "type": "path", "description": "The IRI of a project. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Remove a user form an admin project membership identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the project." }, { "info": { "name": "postAdminUsersIriUseririGroup-membershipsGroupiri", "type": "http" }, "http": { "method": "POST", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/group-memberships/:groupIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add a user to a group identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "deleteAdminUsersIriUseririGroup-membershipsGroupiri", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/group-memberships/:groupIri", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." }, { "name": "groupIri", "value": "http://rdfh.ch/groups/0042/a95UWs71KUklnFOe1rcw1w", "type": "path", "description": "The IRI of a group. Must be URL-encoded." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Remove a user form an group membership identified by IRI. Requires SystemAdmin or ProjectAdmin permissions for the group's project." }, { "info": { "name": "putAdminUsersIriUseririBasicuserinformation", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/BasicUserInformation", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a user's basic information identified by IRI. Users can update their own information. SystemAdmin can update any user." }, { "info": { "name": "putAdminUsersIriUseririPassword", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/Password", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change a user's password identified by IRI. Users can change their own password. SystemAdmin can change any user's password." }, { "info": { "name": "putAdminUsersIriUseririStatus", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/Status", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change a user's status identified by IRI. Users can update their own status. SystemAdmin can update any user's status." }, { "info": { "name": "putAdminUsersIriUseririSystemadmin", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dasch.swiss:443/admin/users/iri/:userIri/SystemAdmin", "params": [ { "name": "userIri", "value": "http://rdfh.ch/users/U16pbDgNSb6pQgDSP9L-VQ", "type": "path", "description": "The user IRI. Must be URL-encoded." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Change a user's SystemAdmin status identified by IRI. Requires SystemAdmin permissions." } ] } ], "bundled": true }