forked from ome/omero_search_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow using query with sub containers endpoint and add swagger docume…
…nts for the new url
- Loading branch information
Showing
4 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
omero_search_engine/api/v1/resources/swagger_docs/container_images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
A searchengine endpoint to Return the available containers and the number of images in each. | ||
--- | ||
tags: | ||
- Containers and the number of images in each. | ||
|
||
responses: | ||
200: | ||
description: A JSON contains the search results | ||
examples: | ||
results: [] |
25 changes: 25 additions & 0 deletions
25
omero_search_engine/api/v1/resources/swagger_docs/sub_container_images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
A searchengine endpoint to return the available sub-container in a container (e.g. dataset in project) | ||
A query can be provided to return only the search results | ||
--- | ||
tags: | ||
- Available sub-containers inside a container | ||
parameters: | ||
- name: container | ||
in: query | ||
type: string | ||
enum: ['project', 'screen'] | ||
required: true | ||
- name: container_name | ||
description: The container name | ||
in: query | ||
type: string | ||
required: true | ||
- name: data | ||
in: body | ||
required: false | ||
|
||
responses: | ||
200: | ||
description: A JSON contains the search results | ||
examples: | ||
results: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters