Skip to content

Commit

Permalink
Add getAccessLink
Browse files Browse the repository at this point in the history
  • Loading branch information
kathy-t committed May 23, 2024
1 parent 401ab4e commit b9f859b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/main/resources/zenodo-1.0.0-swagger-2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,34 @@ paths:
'500':
description: Internal Error
/records/{id}/access/links/{linkId}:
get:
summary: Get an access link
description: ''
operationId: getAccessLink
parameters:
- in: path
name: id
type: string
required: true
description: Identifier of the record
- in: path
name: linkId
type: string
required: true
description: Identifier of the link
tags:
- accessLinks
produces:
- application/json
security:
- access_token: [ ]
responses:
'200':
description: OK
schema:
$ref: '#/definitions/AccessLink'
'405':
description: Method Not Allowed
delete:
summary: Delete an access link
description: Delete an access link
Expand Down

0 comments on commit b9f859b

Please sign in to comment.