Vrije Universiteit Amsterdam dataSet API
The dataSet API from Vrije Universiteit Amsterdam — 29 operation(s) for dataset.
The dataSet API from Vrije Universiteit Amsterdam — 29 operation(s) for dataset.
openapi: 3.0.1
info:
title: Pure activity dataSet API
description: The Pure API provides a secure and complete web services API for using and managing research information data in Pure. The API enables a broad range of use-cases for interacting with research information, from anonymous Open Data scenarios to enabling the next generation Pure admin.
termsOfService: ''
contact:
name: ''
url: ''
email: pure-support@elsevier.com
license:
name: ''
url: ''
version: 5.34.3
servers:
- url: https://research.vu.nl/ws/api
description: VU Amsterdam Pure REST web service (API key required)
security:
- api-key: []
tags:
- name: dataSet
paths:
/data-sets:
get:
tags:
- dataSet
summary: Lists all data sets
description: Lists all data sets in the Pure instance. If you need to filter the data sets returned, see the POST version which supports additional filtering.
operationId: dataSet_list
parameters:
- name: size
in: query
description: Number of returned data sets per request.
schema:
maximum: 1000
type: integer
format: int32
default: 10
- name: offset
in: query
description: The offset for the returned list. 0 or null value is from the start
schema:
type: integer
format: int32
default: 0
- name: order
in: query
description: The order of the list, must be a value from /data sets/orderings
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/DataSetListResult'
put:
tags:
- dataSet
summary: Create data set
description: Create data set
operationId: dataSet_create
requestBody:
description: The content to create
content:
application/json:
schema:
$ref: '#/components/schemas/DataSet'
required: true
responses:
'201':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/DataSet'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
/data-sets/allowed-classified-identifier-types:
get:
tags:
- dataSet
summary: A list of allowed classified identifier types
description: Get a list of allowed classified identifier types that can be used for the 'identifiers.type' attribute of data sets
operationId: dataSet_getAllowedClassifiedIdentifierTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-contributors-roles:
get:
tags:
- dataSet
summary: A list of allowed contributors roles
description: Get a list of allowed contributors roles that can be used for the 'contributor.role' attribute of the data set.
operationId: dataSet_getAllowedContributorsRoles
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-custom-defined-field-values/{propertyName}/classifications:
get:
tags:
- dataSet
summary: Get allowed classifications for the custom-defined field associated with the data set
description: Get allowed classifications for the custom-defined field associated with the data set.
operationId: dataSet_getAllowedCustomDefinedFieldClassifications
parameters:
- name: propertyName
in: path
description: PropertyName for the desired custom-defined field
required: true
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
'400':
description: Bad request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'404':
description: Resource not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
/data-sets/allowed-description-types:
get:
tags:
- dataSet
summary: A list of allowed classifications for the descriptions property
description: Get a list of classifications that can be used when submitting a description.
operationId: dataSet_getAllowedDescriptionTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-document-licenses:
get:
tags:
- dataSet
summary: A list of allowed document licenses
description: Get a list of allowed license types that can be used for the 'documents.license' attribute of data sets
operationId: dataSet_getAllowedDocumentLicenses
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-document-types:
get:
tags:
- dataSet
summary: A list of allowed document types
description: Get a list of allowed license types that can be used for the 'documents.type' attribute of data sets
operationId: dataSet_getAllowedDocumentTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-doi-access-types:
get:
tags:
- dataSet
summary: A list of allowed access types for DOI
description: Get a list of allowed DOI access types on data sets
operationId: dataSet_getAllowedDoiAccessTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-doi-license-types:
get:
tags:
- dataSet
summary: A list of allowed license types for DOI
description: Get a list of allowed DOI license types on data sets
operationId: dataSet_getAllowedDoiLicenseTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-image-types:
get:
tags:
- dataSet
summary: A list of allowed image types
description: Get a list of allowed image types that can be used for the 'images.type' attribute of the data set.
operationId: dataSet_getAllowedImageTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-keyword-group-configurations:
get:
tags:
- dataSet
summary: A list of keyword group configurations
description: Get a list of allowed keyword group configurations that can be used when submitting keyword groups.
operationId: dataSet_getAllowedKeywordGroupConfigurations
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/AllowedKeywordGroupConfigurationList'
/data-sets/allowed-keyword-group-configurations/{id}/classifications:
get:
tags:
- dataSet
summary: A list of allowed classifications for the specified keyword group
description: Get a list of allowed classifications that can be used when submitting a specified keyword group.
operationId: dataSet_getAllowedKeywordGroupConfigurationClassifications
parameters:
- name: id
in: path
description: Pure id of the keyword group configuration
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-legal-condition-types:
get:
tags:
- dataSet
summary: A list of allowed legal condition types
description: Get a list of allowed types for legal condition on data sets
operationId: dataSet_getAllowedLegalConditionsTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-licenses:
get:
tags:
- dataSet
summary: A list of allowed licenses
description: Get a list of allowed licenses on data sets
operationId: dataSet_getAllowedLicenses
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-link-types:
get:
tags:
- dataSet
summary: A list of allowed link types
description: Get a list of allowed link types that can be used for the 'links.linkType' attribute of data sets
operationId: dataSet_getAllowedLinkTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-locales:
get:
tags:
- dataSet
summary: A list of allowed locales in localized strings
description: Get a list of allowed locales that can be used when submitting localized string entities.
operationId: dataSet_getAllowedLocales
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/LocalesList'
/data-sets/allowed-nature-types:
get:
tags:
- dataSet
summary: A list of allowed nature types
description: Get a list of allowed nature types for data sets.
operationId: dataSet_getAllowedNatureTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-open-access-permissions:
get:
tags:
- dataSet
summary: A list of allowed open access permissions
description: Get a list of allowed open access permissions on data sets
operationId: dataSet_getAllowedOpenAccessPermissions
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-persons-roles:
get:
tags:
- dataSet
summary: A list of allowed person roles
description: Get a list of allowed person roles that can be used for the 'persons.role' attribute of the data set.
operationId: dataSet_getAllowedPersonsRoles
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-physical-data-types:
get:
tags:
- dataSet
summary: A list of allowed physical data types
description: Get a list of allowed types for physical data on data sets
operationId: dataSet_getAllowedPhysicalDataTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-types:
get:
tags:
- dataSet
summary: A list of allowed classifications for the type property
description: Get a list of classifications that can be used when submitting a type.
operationId: dataSet_getAllowedTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/data-sets/allowed-workflow-steps:
get:
tags:
- dataSet
summary: A list of allowed workflow steps
description: Get a list of allowed workflow steps that can be used for the 'workflow' attribute of data sets
operationId: dataSet_getAllowedWorkflowSteps
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowListResult'
/data-sets/file-uploads:
put:
tags:
- dataSet
summary: Upload file to a specific data set
description: Uploads file for the data set
operationId: dataSet_fileUploads
parameters:
- name: Content-Type
in: header
description: Set the mime type for the file
schema:
type: string
requestBody:
content:
'*/*':
schema:
type: string
format: binary
required: true
responses:
default:
description: default response
content:
application/json:
schema:
$ref: '#/components/schemas/UploadedFile'
application/xml:
schema:
$ref: '#/components/schemas/UploadedFile'
/data-sets/search:
post:
tags:
- dataSet
summary: Query operation for data sets
description: Lists data sets in the Pure instance that matches the provided query, similar to the GET version, instead of using parameters to alter the response, an JSON document is posted with the request. The JSON document contains fields for all the parameters available for the GET version, but also additional filtering options.
operationId: dataSet_query
requestBody:
description: The query to perform
content:
application/json:
schema:
$ref: '#/components/schemas/DataSetsQuery'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/DataSetListResult'
'400':
description: Bad request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
/data-sets/{uuid}:
get:
tags:
- dataSet
summary: Get data set
description: Get data set with specific UUID.
operationId: dataSet_get
parameters:
- name: uuid
in: path
description: UUID of the desired data set
required: true
schema:
pattern: .+
type: string
format: uuid
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/DataSet'
'301':
description: The requested content have changed UUID
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
put:
tags:
- dataSet
summary: Update data set
description: Update data set with specific UUID.
operationId: dataSet_update
parameters:
- name: uuid
in: path
description: UUID of the data set to update
required: true
schema:
pattern: .+
type: string
format: uuid
requestBody:
description: The content to update
content:
application/json:
schema:
$ref: '#/components/schemas/DataSet'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/DataSet'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'404':
description: Resource not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Version conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ConflictProblemDetails'
delete:
tags:
- dataSet
summary: Delete data set
description: Delete data set with specific UUID.
operationId: dataSet_delete
parameters:
- name: uuid
in: path
description: UUID of the data set
required: true
schema:
pattern: .+
type: string
format: uuid
responses:
'204':
description: Successful operation
'404':
description: Resource not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ConflictProblemDetails'
/data-sets/{uuid}/actions/lock:
post:
tags:
- dataSet
summary: Lock the content
description: Mark the content as external (used when content contains synchronised data). This has no effect on interactions with the content through the API.
operationId: dataSet_lock
parameters:
- name: uuid
in: path
description: UUID of the content to lock
required: true
schema:
pattern: .+
type: string
format: uuid
responses:
'204':
description: Content marked as locked
'404':
description: Resource not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Content already locked
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ConflictProblemDetails'
/data-sets/{uuid}/actions/unlock:
post:
tags:
- dataSet
summary: Unlock the content
description: Remove the external mark on the content (used when content contains synchronised data). This has no effect on interactions with the content through the API.
operationId: dataSet_unlock
parameters:
- name: uuid
in: path
description: UUID of the content to unlock
required: true
schema:
pattern: .+
type: string
format: uuid
responses:
'204':
description: Content marked as unlocked
'404':
description: Resource not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Content already unlocked
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ConflictProblemDetails'
/data-sets/{uuid}/files/{fileId}:
get:
tags:
- dataSet
summary: Get file from the data set
description: Get file from the data set
operationId: dataSet_getFile
parameters:
- name: uuid
in: path
description: UUID of the data set
required: true
schema:
pattern: .+
type: string
format: uuid
- name: fileId
in: path
description: 'File id '
required: true
schema:
pattern: .+
type: string
responses:
'200':
description: Successful operation
content:
'*/*':
schema:
type: string
format: binary
/data-sets/{uuid}/notes:
get:
tags:
- dataSet
summary: Lists notes
description: Lists notes associated with an data set ordered by date (nulls last)
operationId: dataSet_listNotes
parameters:
- name: uuid
in: path
description: UUID of the data set to get notes for
required: true
schema:
pattern: .+
type: string
format: uuid
- name: size
in: query
description: Number of returned notes per request
schema:
maximum: 1000
type: integer
format: int32
default: 10
- name: offset
in: query
description: The offset for the returned list. 0 or null value is from the start
schema:
type: integer
format: int32
default: 0
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/NoteListResult'
'404':
description: data set not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
put:
tags:
- dataSet
summary: Create note
description: Create note and associate it with a data set
operationId: dataSet_createNote
parameters:
- name: uuid
in: path
description: UUID of the data set to add note to
required: true
schema:
pattern: .+
type: string
format: uuid
requestBody:
description: The note to create
content:
application/json:
schema:
$ref: '#/components/schemas/Note'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Note'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
components:
schemas:
SystemLocalizedString:
type: object
additionalProperties:
type: string
description: A set of localized string values each for a specific UI locale.
nullable: true
example: '{"en_GB":"Some text"}'
description: A set of localized string values each for a specific UI locale.
nullable: true
example:
en_GB: Some text
RemoteFile:
required:
- fileId
- fileState
- sourceId
- storeName
type: object
properties:
sourceId:
type: string
description: The remote source ID
storeName:
type: string
description: The name of the remote store
timeStamp:
type: string
description: The timestamp at which the file was stored
format: date-time
fileId:
type: string
description: The remote file ID
fileState:
type: string
description: The remote file state
enum:
- AWAITING_CREATION
- CREATION_IN_PROGRESS
- CREATION_FAILED
- STORED
- AWAITING_DELETE
- DELETE_IN_PROGRESS
- DELETE_FAILED
- DELETED
metadataUpdateRequired:
type: boolean
description: Whether the file's metadata should be updated
default: false
description: Information about a remote file (Elsevier only)
UploadedFile:
required:
- key
type: object
properties:
digest:
type: string
description: The calculated digest for the file in Pure
readOnly: true
digestType:
type: string
description: The digest type
readOnly: true
size:
type: integer
description: The file size of the file in Pure
format: int64
readOnly: true
mimeType:
type: string
description: The mime type detected for the file
readOnly: true
timeStamp:
type: string
description: The timestamp Pure received the file
format: date-time
readOnly: true
expires:
type: string
description: The timestamp where Pure deletes the uploaded file if it has not been attached to any content
format: date-time
readOnly: true
key:
type: string
description: Pure key identifer for the file upload
readOnly: true
description: Information about the uploaded file
DataSetImpactAssociation:
required:
- impact
type: object
properties:
impact:
$ref: '#/components/schemas/ImpactRef'
description: An association to an impact.
DataSetDocument:
required:
- fileName
- mimeType
- type
- visibility
type: object
properties:
pureId:
type: integer
description: Pure database ID of the object, prefer using the UUID if it is present on the entity
format: int64
readOnly: true
fileId:
type: string
description: The id of the file
readOnly: true
fileName:
type: string
description: The documents file name
mimeType:
type: string
description: The documents mime type
size:
type: integer
description: The documents size in bytes
format: int64
url:
type: string
description: Download url for the binary file
readOnly: true
fileStoreLocations:
type: object
additionalProperties:
type: string
description: Locations of the binary file in file stores.
readOnly: true
description: Locations of the binary file in file stores.
readOnly: true
uploadedFile:
$ref: '#/components/schemas/UploadedFile'
remoteFile:
$ref: '#/components/schemas/RemoteFile'
fileData:
type: string
description: Base64 encoded file data for new files. This property can be used instead of uploadedFile for small files
format: byte
writeOnly: true
title:
type: string
description: Document title
nullable: true
type:
$ref: '#/components/schemas/ClassificationRef'
license:
$ref: '#/components/schemas/ClassificationRef'
visibleOnPortalDate:
type: string
description: The date the document will be available on the portal
format: date
readOnly: true
visibility:
$ref: '#/components/schemas/Visibility'
creator:
type: string
description: The user that created the document
readOnly: true
created:
type: string
description: Create date for the document
format: date-time
readOnly: true
embargoDate:
type: string
description: Embargo date.
format: date-time
nullable: true
description: A dataset document.
DataSetActivityAssociation:
required:
- activity
type: object
properties:
activity:
$ref: '#/components/schemas/ActivityRef'
description: An association to an activity.
DataSetsQuery:
type: object
properties:
uuids:
type: array
items:
type: string
format: uuid
size:
type: integer
format: int32
offset:
type: integer
format: int32
orderings:
type: array
items:
type: string
searchString:
type: string
description: String used to perform search
orderBy:
type: string
writeOnly: true
description: Create a query for data sets
DataSet:
required:
- managingOrganization
- persons
- publisher
- title
- type
- visibility
type: object
properties:
pureId:
type: integer
description: Pure database ID of the object, prefer using the UUID if it is present on the entity
format: int64
readOnly: true
uuid:
type: string
description: UUID, this is the primary identity of the entity
format: uuid
readOnly: true
createdBy:
type: string
description: Username of creator
readOnly: true
createdDate:
type: string
description: Date and time of creation
format: date-time
readOnly: true
modifiedBy:
type: string
description: Username of the user that performed a modification
readOnly: true
modifiedDate:
type: string
description: Date and time of last modification
format: date-time
readOnly: true
portalUrl:
type: string
description: URL of the content on the Pure Portal
readOnly: true
prettyUrlIdentifiers:
type: array
description: All pretty URLs
readOnly: true
items:
type: string
description: All pretty URLs
readOnly: true
previousUuids:
type: array
description: UUIDs of other content items which have been merged into this content item (or similar)
readOnly: true
items:
type: string
description: UUIDs of other content items which have been merged into this content item (or similar)
readOnly: true
version:
type: string
description: Used to guard against conflicting updates. For new content this is null, and for existing content the current value. The property should never be modified by a client, except in the rare case where the client wants to perform an update irrespective of if other clients have made updates in the meantime, also known as a "dirty write". A dirty write is performed by not including the property value or setting the property to null
nullable: true
title:
$ref: '#/components/schemas/LocalizedString'
descriptions:
type: array
description: A collection of descriptions.
nullable: true
items:
$ref: '#/components/schemas/ClassifiedLocalizedValue'
managingOrganization:
$ref: '#/components/schemas/OrganizationRef'
type:
$ref: '#/components/schemas/ClassificationRef'
natureTypes:
type: array
description: Nature of activity types for the project.
# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vrije-universiteit-amsterdam/refs/heads/main/openapi/vrije-universiteit-amsterdam-dataset-api-openapi.yml