Vrije Universiteit Amsterdam equipment API
The equipment API from Vrije Universiteit Amsterdam — 26 operation(s) for equipment.
The equipment API from Vrije Universiteit Amsterdam — 26 operation(s) for equipment.
openapi: 3.0.1
info:
title: Pure activity equipment 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: equipment
paths:
/equipment:
get:
tags:
- equipment
summary: Lists all equipment
description: Lists all equipment in the Pure instance. If you need to filter the equipment returned, see the POST version which supports additional filtering.
operationId: equipment_list
parameters:
- name: size
in: query
description: Number of returned equipment 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 /equipment/orderings
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/EquipmentListResult'
put:
tags:
- equipment
summary: Create equipment
description: Create equipment
operationId: equipment_create
requestBody:
description: The content to create
content:
application/json:
schema:
$ref: '#/components/schemas/Equipment'
required: true
responses:
'201':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Equipment'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Version conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ConflictProblemDetails'
/equipment/allowed-address-countries:
get:
tags:
- equipment
summary: A list of allowed address countries
description: Get a list of allowed countries that can be used for the 'addresses.country' attribute of equipment
operationId: equipment_getAllowedAddressCountries
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-address-subdivision:
get:
tags:
- equipment
summary: A list of allowed address subdivisions
description: Get a list of allowed subdivisions that can be used for the 'addresses.subdivisions' attribute of equipment
operationId: equipment_getAllowedAddressSubdivisions
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-address-types:
get:
tags:
- equipment
summary: A list of allowed address types
description: Get a list of allowed address types that can be used for the 'addresses.type' attribute of equipment
operationId: equipment_getAllowedAddressTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-categories:
get:
tags:
- equipment
summary: A list of allowed categories
description: Get a list of allowed categories on equipment
operationId: equipment_getAllowedCategories
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-classified-identifier-types:
get:
tags:
- equipment
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 equipment
operationId: equipment_getAllowedClassifiedIdentifierTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-custom-defined-field-values/{propertyName}/classifications:
get:
tags:
- equipment
summary: Get allowed classifications for the custom-defined field associated with the equipment
description: Get allowed classifications for the custom-defined field associated with the equipment.
operationId: equipment_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'
/equipment/allowed-description-types:
get:
tags:
- equipment
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: equipment_getAllowedDescriptionTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-email-types:
get:
tags:
- equipment
summary: A list of allowed e-mail types
description: Get a list of allowed e-mail types that can be used for the 'emails.type' attribute of equipment
operationId: equipment_getAllowedEmailTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-image-types:
get:
tags:
- equipment
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 equipment
operationId: equipment_getAllowedImageTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-keyword-group-configurations:
get:
tags:
- equipment
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: equipment_getAllowedKeywordGroupConfigurations
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/AllowedKeywordGroupConfigurationList'
/equipment/allowed-keyword-group-configurations/{id}/classifications:
get:
tags:
- equipment
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: equipment_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'
/equipment/allowed-loan-types:
get:
tags:
- equipment
summary: A list of allowed loan types
description: Get a list of allowed loan types that can be used for the 'loan type' attribute of equipment
operationId: equipment_getAllowedLoanTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-locales:
get:
tags:
- equipment
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: equipment_getAllowedLocales
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/LocalesList'
/equipment/allowed-persons-roles:
get:
tags:
- equipment
summary: A list of allowed persons roles
description: Get a list of allowed persons roles
operationId: equipment_getAllowedPersonsRoles
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-phone-number-types:
get:
tags:
- equipment
summary: A list of allowed phone number types
description: Get a list of allowed phone number types that can be used for the 'phoneNumbers.type' attribute of equipment
operationId: equipment_getAllowedPhoneNumberTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-types:
get:
tags:
- equipment
summary: A list of allowed equipment types
description: Get a list of allowed types that can be used for the 'type' attribute of equipment
operationId: equipment_getAllowedTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-web-address-types:
get:
tags:
- equipment
summary: A list of allowed web address types
description: Get a list of allowed web address types that can be used for the 'webAddresses.type' attribute of equipment
operationId: equipment_getAllowedWebAddressTypes
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ClassificationRefList'
/equipment/allowed-workflow-steps:
get:
tags:
- equipment
summary: A list of allowed workflow steps in localized strings
description: Get a list of allowed workflow steps.
operationId: equipment_getAllowedWorkflowSteps
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowListResult'
/equipment/file-uploads:
put:
tags:
- equipment
summary: Upload file to a specific equipment
description: Uploads file for the equipment
operationId: equipment_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'
/equipment/search:
post:
tags:
- equipment
summary: Query operation for equipment
description: Lists equipment 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: equipment_query
requestBody:
description: The query to perform
content:
application/json:
schema:
$ref: '#/components/schemas/EquipmentQuery'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/EquipmentListResult'
'400':
description: Bad request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
/equipment/{uuid}:
get:
tags:
- equipment
summary: Get equipment
description: Get equipment with specific UUID.
operationId: equipment_get
parameters:
- name: uuid
in: path
description: UUID of the desired equipment
required: true
schema:
pattern: .+
type: string
format: uuid
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Equipment'
'301':
description: The requested content have changed UUID
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
put:
tags:
- equipment
summary: Update equipment
description: Update equipment with specific UUID.
operationId: equipment_update
parameters:
- name: uuid
in: path
description: UUID of the equipment to update
required: true
schema:
pattern: .+
type: string
format: uuid
requestBody:
description: The content to update
content:
application/json:
schema:
$ref: '#/components/schemas/Equipment'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/Equipment'
'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'
delete:
tags:
- equipment
summary: Delete equipment
description: Delete equipment with specific UUID.
operationId: equipment_delete
parameters:
- name: uuid
in: path
description: UUID of the equipment
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'
/equipment/{uuid}/actions/lock:
post:
tags:
- equipment
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: equipment_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'
/equipment/{uuid}/actions/unlock:
post:
tags:
- equipment
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: equipment_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'
/equipment/{uuid}/files/{fileId}:
get:
tags:
- equipment
summary: Get file from the equipment
description: Get file from the equipment
operationId: equipment_getFile
parameters:
- name: uuid
in: path
description: UUID of the equipment
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
/equipment/{uuid}/notes:
get:
tags:
- equipment
summary: Lists notes
description: Lists notes associated with an equipment ordered by date (nulls last)
operationId: equipment_listNotes
parameters:
- name: uuid
in: path
description: UUID of the equipment 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: Application not found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
put:
tags:
- equipment
summary: Create note
description: Create note and associate it with the equipment
operationId: equipment_createNote
parameters:
- name: uuid
in: path
description: UUID of the equipment 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
EquipmentListResult:
type: object
properties:
count:
type: integer
description: The full count, ignoring paging
format: int32
pageInformation:
$ref: '#/components/schemas/PageInformation'
items:
type: array
description: Equipment
items:
$ref: '#/components/schemas/Equipment'
description: List of equipment. Can contain a subset of all items along with the full count
EquipmentDataSetAssociation:
required:
- dataSet
type: object
properties:
dataSet:
$ref: '#/components/schemas/DataSetRef'
description: An association to a dataset.
ConflictProblemDetails:
type: object
properties:
type:
type: string
description: A URI reference [RFC3986] that identifies the problem type.
title:
type: string
description: A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).
status:
type: integer
description: The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
format: int32
detail:
type: string
description: A human-readable explanation specific to this occurrence of the problem.
instance:
type: string
description: A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
modified:
type: string
format: date-time
modifiedBy:
type: string
description: Problem details for state conflict failures
StudentThesisRef:
required:
- uuid
type: object
description: A reference to student thesis
nullable: true
allOf:
- $ref: '#/components/schemas/ContentRef'
ExternalOrganizationRef:
required:
- uuid
type: object
description: A reference to an organization external to the institution
nullable: true
allOf:
- $ref: '#/components/schemas/ContentRef'
Identifier:
required:
- typeDiscriminator
type: object
properties:
typeDiscriminator:
type: string
discriminator:
propertyName: typeDiscriminator
mapping:
ClassifiedId: '#/components/schemas/ClassifiedId'
PrimaryId: '#/components/schemas/PrimaryId'
Id: '#/components/schemas/Id'
ClassifiedValue:
required:
- type
- value
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
value:
type: string
description: Classified value
type:
$ref: '#/components/schemas/ClassificationRef'
description: A classified value
DataSetRef:
required:
- uuid
type: object
description: A reference to a data set
nullable: true
allOf:
- $ref: '#/components/schemas/ContentRef'
Visibility:
required:
- key
type: object
properties:
key:
type: string
description: Visibility value
enum:
- FREE
- CAMPUS
- BACKEND
- CONFIDENTIAL
description:
$ref: '#/components/schemas/SystemLocalizedString'
description: Visibility of an object
Name:
type: object
properties:
firstName:
type: string
lastName:
type: string
description: A name describing a person, made up of given- and family name
EquipmentPressMediaAssociation:
required:
- pressMedia
type: object
properties:
pressMedia:
$ref: '#/components/schemas/PressMediaRef'
description: An association to a press media.
EquipmentQuery:
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 equipment
EquipmentRef:
required:
- uuid
type: object
description: A reference to a piece of equipment
nullable: true
allOf:
- $ref: '#/components/schemas/ContentRef'
EquipmentPrizeAssociation:
required:
- prize
type: object
properties:
prize:
$ref: '#/components/schemas/PrizeRef'
description: An association to a prize.
Note:
required:
- text
type: object
properties:
date:
type: string
description: Date and time of when the note was created, an event occurred or similar. Can be any point in time, but <now> is normally preferred
format: date-time
nullable: true
username:
type: string
description: Username related to the note. Usually a username of the user creating the note. Does not have to be a username of a Pure user
nullable: true
text:
type: string
description: Note text
description: A note
AllowedKeywordGroupConfigurationList:
type: object
properties:
configurations:
type: array
items:
$ref: '#/components/schemas/AllowedKeywordGroupConfiguration'
description: List of allowed keyword group configurations
ClassifiedFormattedLocalizedValue:
required:
- type
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
value:
$ref: '#/components/schemas/FormattedLocalizedString'
type:
$ref: '#/components/schemas/ClassificationRef'
description: A classified formatted localized value
ClassificationRef:
required:
- uri
type: object
properties:
uri:
type: string
description: Classification URI of the referred classification
term:
$ref: '#/components/schemas/SystemLocalizedString'
description: A reference to a classification value
nullable: true
ProblemDetails:
type: object
properties:
type:
type: string
description: A URI reference [RFC3986] that identifies the problem type.
title:
type: string
description: A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).
status:
type: integer
description: The HTTP status code ([RFC7231], Section 6) generated by the origin ser
# --- truncated at 32 KB (60 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vrije-universiteit-amsterdam/refs/heads/main/openapi/vrije-universiteit-amsterdam-equipment-api-openapi.yml