Skip to content

Commit 700732f

Browse files
authored
ODM-12419: staging -> draft (#519)
1 parent aeedcf3 commit 700732f

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

openapi/v1/integrationCurator.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4151,8 +4151,6 @@ paths:
41514151
To filter studies via facets, the filter attributes are necessary: type = SELECT, filterOptionId. For details, use the request body model. filterOptionId can be obtained from the response body when the endpoint is first called without filters. Multiple filters with type = SELECT can be passed in the request body. Filters within the same attribute are automatically used with the OR operator. Filters of different attributes are automatically used with the AND operator. This behaviour can not be changed.
41524152
41534153
It is possible to call the endpoint without any filters, then all the studies available to the user are returned.
4154-
4155-
The endpoint searches by staging version of the object metadata.
41564154
operationId: searchStudiesByFilterAsCurator
41574155
requestBody:
41584156
content:
@@ -7179,7 +7177,7 @@ paths:
71797177
- Genestack-API-Token: [ ]
71807178
/api/v1/as-curator/integration/studies/{id}/tasks/publish-versions:
71817179
post:
7182-
description: This endpoint publishes information from staging and creates new
7180+
description: This endpoint publishes information from drafts and creates new
71837181
metadata versions for the specified study and all associated objects. The
71847182
version name is set to “Auto-published by API call”. Only curators with access
71857183
to the specified studies can use this method.

openapi/v1/integrationUser.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,8 +2459,6 @@ paths:
24592459
To filter studies via facets, the filter attributes are necessary: type = SELECT, filterOptionId. For details, use the request body model. filterOptionId can be obtained from the response body when the endpoint is first called without filters. Multiple filters with type = SELECT can be passed in the request body. Filters within the same attribute are automatically used with the OR operator. Filters of different attributes are automatically used with the AND operator. This behaviour can not be changed.
24602460
24612461
It is possible to call the endpoint without any filters, then all the studies available to the user are returned.
2462-
2463-
The endpoint searches by staging version of the object metadata.
24642462
operationId: searchStudiesByFilterAsUser
24652463
requestBody:
24662464
content:

openapi/v1/tasks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ tags:
99
paths:
1010
/api/v1/tasks/publish-versions:
1111
post:
12-
description: This endpoint publishes all information from staging and creates
13-
new metadata versions for each study/associated objects with unpublished changes.Only
12+
description: This endpoint publishes all information from drafts and creates
13+
new metadata versions for each study/associated objects with unpublished changes. Only
1414
curators with the ACCESS_ALL_DATA permission can use this method.
1515
operationId: publishAllStudies
1616
parameters:

0 commit comments

Comments
 (0)