Skip to content
Snippets Groups Projects
Commit aabf089f authored by Valentin Rigal's avatar Valentin Rigal Committed by Erwan Rouchet
Browse files

Fix metadata field on RetrieveElement endpoints

parent b83644f3
No related branches found
No related tags found
No related merge requests found
Pipeline #28172 passed
......@@ -751,7 +751,7 @@ paths:
- elements
/api/v1/element/{id}/:
get:
description: Retrieve detailed information on a single element
description: Retrieve a single element's informations and metadata
operationId: RetrieveElement
parameters:
- description: ''
......@@ -781,8 +781,96 @@ paths:
id:
type: string
metadata:
items:
properties:
dates:
items:
properties:
day:
nullable: true
type: integer
month:
nullable: true
type: integer
type:
enum:
- exact
- lower
- upper
- unknown
year:
type: integer
required:
- year
- type
type: array
entity:
properties:
id:
type: string
name:
type: string
type:
enum:
- person
- location
- subject
- organization
- misc
required:
- name
- type
type: object
id:
type: string
name:
type: string
revision:
properties:
author:
type: string
commit_url:
readOnly: true
type: string
date:
format: date-time
type: string
hash:
type: string
id:
type: string
message:
type: string
ref:
type: string
repo_id:
readOnly: true
type: string
required:
- date
- hash
- ref
- message
- author
type: object
type:
enum:
- text
- html
- date
- location
- entity
value:
type: string
required:
- type
- name
- value
- revision
- dates
- entity
readOnly: true
type: string
type: array
name:
type: string
thumbnail_url:
......@@ -842,8 +930,96 @@ paths:
id:
type: string
metadata:
items:
properties:
dates:
items:
properties:
day:
nullable: true
type: integer
month:
nullable: true
type: integer
type:
enum:
- exact
- lower
- upper
- unknown
year:
type: integer
required:
- year
- type
type: array
entity:
properties:
id:
type: string
name:
type: string
type:
enum:
- person
- location
- subject
- organization
- misc
required:
- name
- type
type: object
id:
type: string
name:
type: string
revision:
properties:
author:
type: string
commit_url:
readOnly: true
type: string
date:
format: date-time
type: string
hash:
type: string
id:
type: string
message:
type: string
ref:
type: string
repo_id:
readOnly: true
type: string
required:
- date
- hash
- ref
- message
- author
type: object
type:
enum:
- text
- html
- date
- location
- entity
value:
type: string
required:
- type
- name
- value
- revision
- dates
- entity
readOnly: true
type: string
type: array
name:
type: string
thumbnail_url:
......@@ -904,8 +1080,96 @@ paths:
id:
type: string
metadata:
items:
properties:
dates:
items:
properties:
day:
nullable: true
type: integer
month:
nullable: true
type: integer
type:
enum:
- exact
- lower
- upper
- unknown
year:
type: integer
required:
- year
- type
type: array
entity:
properties:
id:
type: string
name:
type: string
type:
enum:
- person
- location
- subject
- organization
- misc
required:
- name
- type
type: object
id:
type: string
name:
type: string
revision:
properties:
author:
type: string
commit_url:
readOnly: true
type: string
date:
format: date-time
type: string
hash:
type: string
id:
type: string
message:
type: string
ref:
type: string
repo_id:
readOnly: true
type: string
required:
- date
- hash
- ref
- message
- author
type: object
type:
enum:
- text
- html
- date
- location
- entity
value:
type: string
required:
- type
- name
- value
- revision
- dates
- entity
readOnly: true
type: string
type: array
name:
type: string
thumbnail_url:
......@@ -1941,8 +2205,96 @@ paths:
id:
type: string
metadata:
items:
properties:
dates:
items:
properties:
day:
nullable: true
type: integer
month:
nullable: true
type: integer
type:
enum:
- exact
- lower
- upper
- unknown
year:
type: integer
required:
- year
- type
type: array
entity:
properties:
id:
type: string
name:
type: string
type:
enum:
- person
- location
- subject
- organization
- misc
required:
- name
- type
type: object
id:
type: string
name:
type: string
revision:
properties:
author:
type: string
commit_url:
readOnly: true
type: string
date:
format: date-time
type: string
hash:
type: string
id:
type: string
message:
type: string
ref:
type: string
repo_id:
readOnly: true
type: string
required:
- date
- hash
- ref
- message
- author
type: object
type:
enum:
- text
- html
- date
- location
- entity
value:
type: string
required:
- type
- name
- value
- revision
- dates
- entity
readOnly: true
type: string
type: array
name:
type: string
thumbnail_url:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment