Skip to content

Commit

Permalink
#53 revise /{id} endpoints through DataAttributes alphabetically.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrflood committed May 10, 2022
1 parent a853f5f commit a7af9d9
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 27 deletions.
24 changes: 12 additions & 12 deletions api/api.raml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get:
description: Returns AssertedDistribution instance data.
description: Returns AssertedDistribution instance data for ID in URI.
queryParameters:
project_id:
description: |
Expand All @@ -184,7 +184,7 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get:
description: Returns BiologicalAssociations instance data.
description: Returns BiologicalAssociations instance data for ID in URI.
queryParameters:
project_id:
description: |
Expand All @@ -201,7 +201,7 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get:
description: Returns Citations instance data.
description: Returns Citations instance data for ID in URI.
queryParameters:
project_id:
description: |
Expand All @@ -228,7 +228,7 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get:
description: Returns collection objects metadata for this ID
description: Returns collection objects data for ID in URI.

/contents:
is: [ secured, project_tokenized ]
Expand All @@ -238,7 +238,7 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get:
description: Returns Content instance data.
description: Returns Content instance data for ID in URI.
queryParameters:
project_id:
description: |
Expand All @@ -255,13 +255,13 @@ traits:
/{id}:
is: [ secured, project_tokenized ]
get: !include /traits/DataAttributesID-search.raml
description: Returns data_attributes instance data.
queryParameters:
id:
description: Identifier.
type: integer
required: false
example: 50111
# description: Returns data_attributes instance data.
# queryParameters:
# id:
# description: Identifier.
# type: integer
# required: false
# example: 50111

/downloads:
is: [ secured, project_tokenized ]
Expand Down
1 change: 0 additions & 1 deletion api/traits/CollectingEvents-search.raml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ queryParameters:
Find CollectingEvents having spatial geographic areas
type: string boolean
required: false
# example: "false"
wkt:
description: |
Well Known Text describing the search area
Expand Down
7 changes: 0 additions & 7 deletions api/traits/DataAttributesID-search.raml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
is: [pageable: { default_per: 50, max_per: 1000 }]
queryParameters:
id:
description: The ID for the data atribute search
type: integer
required: true
example: 50111

responses:
200:
body:
Expand Down
Loading

0 comments on commit a7af9d9

Please sign in to comment.