Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions Specification/BrAPI-Schema/Requests/ObservationUnitRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,38 @@
"Spring 2018",
"Season A"
]
},
"sortBy": {
"description": "Name of the field to sort by.",
"enum": [
"observationUnitDbId",
"observationUnitName",
"observationUnitPUI",
"programDbId",
"programName",
"trialDbId",
"trialName",
"studyDbId",
"studyName",
"locationDbId",
"locationName",
"germplasmDbId",
"germplasmName",
"observationLevel",
"positionCoordinateX",
"positionCoordinateY"
],
"type": ["null", "string"]
},
"sortOrder": {
"description": "Sort order direction. Ascending/Descending.",
"enum": [
"ASC",
"DESC",
"asc",
"desc"
],
"type": ["null", "string"]
}
}
}
Expand Down
30 changes: 30 additions & 0 deletions Specification/Generated/BrAPI-Core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4889,6 +4889,36 @@ components:
nullable: true
items:
type: string
sortBy:
type: string
description: Name of the field to sort by.
nullable: true
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
sortOrder:
type: string
description: Sort order direction. Ascending/Descending.
nullable: true
enum:
- ASC
- DESC
- asc
- desc
studyDbIds:
type: array
description: List of study identifiers to search for
Expand Down
30 changes: 30 additions & 0 deletions Specification/Generated/BrAPI-Genotyping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5432,6 +5432,36 @@ components:
nullable: true
items:
type: string
sortBy:
type: string
description: Name of the field to sort by.
nullable: true
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
sortOrder:
type: string
description: Sort order direction. Ascending/Descending.
nullable: true
enum:
- ASC
- DESC
- asc
- desc
studyDbIds:
type: array
description: List of study identifiers to search for
Expand Down
30 changes: 30 additions & 0 deletions Specification/Generated/BrAPI-Germplasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6083,6 +6083,36 @@ components:
nullable: true
items:
type: string
sortBy:
type: string
description: Name of the field to sort by.
nullable: true
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
sortOrder:
type: string
description: Sort order direction. Ascending/Descending.
nullable: true
enum:
- ASC
- DESC
- asc
- desc
studyDbIds:
type: array
description: List of study identifiers to search for
Expand Down
132 changes: 132 additions & 0 deletions Specification/Generated/BrAPI-Phenotyping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,42 @@ paths:
required: false
schema:
type: string
- name: sortBy
in: query
description: Name of the field to sort by.
required: false
schema:
type: string
description: Name of the field to sort by.
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
- name: sortOrder
in: query
description: Sort order direction. Ascending/Descending.
required: false
schema:
type: string
description: Sort order direction. Ascending/Descending.
enum:
- ASC
- DESC
- asc
- desc
- $ref: "#/components/parameters/externalReferenceId"
- $ref: "#/components/parameters/externalReferenceID"
- $ref: "#/components/parameters/externalReferenceSource"
Expand Down Expand Up @@ -2015,6 +2051,42 @@ paths:
required: false
schema:
type: string
- name: sortBy
in: query
description: Name of the field to sort by.
required: false
schema:
type: string
description: Name of the field to sort by.
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
- name: sortOrder
in: query
description: Sort order direction. Ascending/Descending.
required: false
schema:
type: string
description: Sort order direction. Ascending/Descending.
enum:
- ASC
- DESC
- asc
- desc
- $ref: "#/components/parameters/acceptHeader"
- $ref: "#/components/parameters/authorizationHeader"
responses:
Expand Down Expand Up @@ -5618,6 +5690,36 @@ components:
nullable: true
items:
type: string
sortBy:
type: string
description: Name of the field to sort by.
nullable: true
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
sortOrder:
type: string
description: Sort order direction. Ascending/Descending.
nullable: true
enum:
- ASC
- DESC
- asc
- desc
studyDbIds:
type: array
description: List of study identifiers to search for
Expand Down Expand Up @@ -5780,6 +5882,36 @@ components:
nullable: true
items:
type: string
sortBy:
type: string
description: Name of the field to sort by.
nullable: true
enum:
- observationUnitDbId
- observationUnitName
- observationUnitPUI
- programDbId
- programName
- trialDbId
- trialName
- studyDbId
- studyName
- locationDbId
- locationName
- germplasmDbId
- germplasmName
- observationLevel
- positionCoordinateX
- positionCoordinateY
sortOrder:
type: string
description: Sort order direction. Ascending/Descending.
nullable: true
enum:
- ASC
- DESC
- asc
- desc
studyDbIds:
type: array
description: List of study identifiers to search for
Expand Down
Loading