|
| 1 | +components: |
| 2 | + securitySchemes: |
| 3 | + AuthorizationToken: |
| 4 | + bearerFormat: nonce token or JWT |
| 5 | + description: OAuth Bearer Token - A valid Bearer token to prove authorization |
| 6 | + scheme: bearer |
| 7 | + type: http |
| 8 | +info: |
| 9 | + description: |- |
| 10 | + The Breeding API (BrAPI) is a Standardized REST ful Web Service API Specification for communicating Plant Breeding Data. BrAPI allows for easy data sharing between databases and tools involved in plant breeding. |
| 11 | + <div class="brapi-section"> |
| 12 | + <h2 class="brapi-section-title">General Reference Documentation</h2> |
| 13 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/RESTfulness">URL Structure</a></div> |
| 14 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/Response_Structure">Response Structure</a></div> |
| 15 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/Dates_and_Times">Date/Time Encoding</a></div> |
| 16 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/Location_Coordinates">Location Encoding</a></div> |
| 17 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/Error_Handling">Error Handling</a></div> |
| 18 | + <div class="gen-info-link"><a href="https://wiki.brapi.org/index.php/Search_Services">Search Services</a></div> |
| 19 | + </div> |
| 20 | + |
| 21 | + <div class="current-brapi-section brapi-section"> |
| 22 | + <h2 class="brapi-section-title">BrAPI Core</h2> |
| 23 | + <div class="brapi-section-description">The BrAPI Core module contains high level entities used for organization and management. This includes Programs, Trials, Studies, Locations, People, and Lists</div> |
| 24 | + <div class="version-number">V2.1</div> |
| 25 | + <div class="link-btn"><a href="https://github.com/plantbreeding/API/tree/brapi-V2.1/Specification/BrAPI-Core">GitHub</a></div> |
| 26 | + <div class="link-btn"><a href="https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Core/2.1">SwaggerHub</a></div> |
| 27 | + <div class="link-btn"><a href="https://brapicore21.docs.apiary.io">Apiary</a></div> |
| 28 | + <div class="version-number">V2.0</div> |
| 29 | + <div class="link-btn"><a href="https://github.com/plantbreeding/API/tree/brapi-V2.0/Specification/BrAPI-Core">GitHub</a></div> |
| 30 | + <div class="link-btn"><a href="https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Core/2.0">SwaggerHub</a></div> |
| 31 | + <div class="link-btn"><a href="https://brapicore20.docs.apiary.io">Apiary</a></div> |
| 32 | + <div class="stop-float"></div> |
| 33 | + </div> |
| 34 | + |
| 35 | + <div class="brapi-section"> |
| 36 | + <h2 class="brapi-section-title">BrAPI Phenotyping</h2> |
| 37 | + <div class="brapi-section-description">The BrAPI Phenotyping module contains entities related to phenotypic observations. This includes Observation Units, Observations, Observation Variables, Traits, Scales, Methods, and Images</div> |
| 38 | + <div class="version-number">V2.1</div> |
| 39 | + <div class="link-btn"><a href="https://github.com/plantbreeding/API/tree/brapi-V2.1/Specification/BrAPI-Phenotyping">GitHub</a></div> |
| 40 | + <div class="link-btn"><a href="https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Phenotyping/2.1">SwaggerHub</a></div> |
| 41 | + <div class="link-btn"><a href="https://brapiphenotyping21.docs.apiary.io">Apiary</a></div> |
| 42 | + <div class="stop-float"></div> |
| 43 | + </div> |
| 44 | + |
| 45 | + <div class="brapi-section"> |
| 46 | + <h2 class="brapi-section-title">BrAPI Genotyping</h2> |
| 47 | + <div class="brapi-section-description">The BrAPI Genotyping module contains entities related to genotyping analysis. This includes Samples, Markers, Variant Sets, Variants, Call Sets, Calls, References, Reads, and Vendor Orders</div> |
| 48 | + <div class="version-number">V2.1</div> |
| 49 | + <div class="link-btn"><a href="https://github.com/plantbreeding/API/tree/brapi-V2.1/Specification/BrAPI-Genotyping">GitHub</a></div> |
| 50 | + <div class="link-btn"><a href="https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Genotyping/2.1">SwaggerHub</a></div> |
| 51 | + <div class="link-btn"><a href="https://brapigenotyping21.docs.apiary.io">Apiary</a></div> |
| 52 | + <div class="stop-float"></div> |
| 53 | + </div> |
| 54 | + |
| 55 | + <div class="brapi-section"> |
| 56 | + <h2 class="brapi-section-title">BrAPI Germplasm</h2> |
| 57 | + <div class="brapi-section-description">The BrAPI Germplasm module contains entities related to germplasm management. This includes Germplasm, Germplasm Attributes, Seed Lots, Crosses, Pedigree, and Progeny</div> |
| 58 | + <div class="version-number">V2.1</div> |
| 59 | + <div class="link-btn"><a href="https://github.com/plantbreeding/API/tree/brapi-V2.1/Specification/BrAPI-Germplasm">GitHub</a></div> |
| 60 | + <div class="link-btn"><a href="https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Germplasm/2.1">SwaggerHub</a></div> |
| 61 | + <div class="link-btn"><a href="https://brapigermplasm21.docs.apiary.io">Apiary</a></div> |
| 62 | + <div class="stop-float"></div> |
| 63 | + </div> |
| 64 | + |
| 65 | + <style> |
| 66 | + .link-btn{ |
| 67 | + float: left; |
| 68 | + margin: 2px 10px 0 0; |
| 69 | + padding: 0 5px; |
| 70 | + border-radius: 5px; |
| 71 | + background-color: #ddd; |
| 72 | + } |
| 73 | + .stop-float{ |
| 74 | + clear: both; |
| 75 | + } |
| 76 | + .version-number{ |
| 77 | + float: left; |
| 78 | + margin: 5px 10px 0 5px; |
| 79 | + } |
| 80 | + .brapi-section-title{ |
| 81 | + margin: 0 10px 0 0; |
| 82 | + font-size: 20px; |
| 83 | + } |
| 84 | + .current-brapi-section{ |
| 85 | + font-weight: bolder; |
| 86 | + border-radius: 5px; |
| 87 | + background-color: #ddd; |
| 88 | + } |
| 89 | + .brapi-section{ |
| 90 | + padding: 5px 5px; |
| 91 | + } |
| 92 | + .brapi-section-description{ |
| 93 | + margin: 5px 0 0 5px; |
| 94 | + } |
| 95 | + </style> |
| 96 | + title: BrAPI-Core |
| 97 | + version: '2.1' |
| 98 | +openapi: 3.0.0 |
| 99 | +paths: {} |
| 100 | +security: |
| 101 | +- AuthorizationToken: [] |
| 102 | +servers: |
| 103 | +- url: https://test-server.brapi.org/brapi/v2 |
| 104 | +tags: |
| 105 | +- name: Server Info |
| 106 | + description: Check the available calls on a server |
| 107 | + externalDocs: |
| 108 | + description: Docs |
| 109 | + url: https://wiki.brapi.org/ |
| 110 | +- name: Common Crop Names |
| 111 | + description: List of crops supported by this server |
| 112 | + externalDocs: |
| 113 | + description: Docs |
| 114 | + url: https://wiki.brapi.org/ |
| 115 | +- name: Programs |
| 116 | + description: Information about Programs |
| 117 | + externalDocs: |
| 118 | + description: Docs |
| 119 | + url: https://wiki.brapi.org/ |
| 120 | +- name: Trials |
| 121 | + description: Information about Trials |
| 122 | + externalDocs: |
| 123 | + description: Docs |
| 124 | + url: https://wiki.brapi.org/ |
| 125 | +- name: Studies |
| 126 | + description: Information about Studies |
| 127 | + externalDocs: |
| 128 | + description: Docs |
| 129 | + url: https://wiki.brapi.org/ |
| 130 | +- name: Locations |
| 131 | + description: Information about Locations |
| 132 | + externalDocs: |
| 133 | + description: Docs |
| 134 | + url: https://wiki.brapi.org/ |
| 135 | +- name: Seasons |
| 136 | + description: Information about Seasons |
| 137 | + externalDocs: |
| 138 | + description: Docs |
| 139 | + url: https://wiki.brapi.org/ |
| 140 | +- name: Lists |
| 141 | + description: Create and manipulate generic lists |
| 142 | + externalDocs: |
| 143 | + description: Docs |
| 144 | + url: https://wiki.brapi.org/ |
| 145 | +- name: People |
| 146 | + description: Create and manipulate information about people |
| 147 | + externalDocs: |
| 148 | + description: Docs |
| 149 | + url: https://wiki.brapi.org/ |
| 150 | +- name: Calls |
| 151 | + description: Individual genotype allele calls |
| 152 | + externalDocs: |
| 153 | + description: Docs |
| 154 | + url: https://wiki.brapi.org/ |
| 155 | +- name: Call Sets |
| 156 | + description: Each Call Set is related to one physical sample |
| 157 | + externalDocs: |
| 158 | + description: Docs |
| 159 | + url: https://wiki.brapi.org/ |
| 160 | +- name: Variants |
| 161 | + description: Information about Variants, also called Markers |
| 162 | + externalDocs: |
| 163 | + description: Docs |
| 164 | + url: https://wiki.brapi.org/ |
| 165 | +- name: Variant Sets |
| 166 | + description: Information about Variant Sets, also called Data Sets or Allele Matrices |
| 167 | + externalDocs: |
| 168 | + description: Docs |
| 169 | + url: https://wiki.brapi.org/ |
| 170 | +- name: Plates |
| 171 | + description: Information about plates containing samples |
| 172 | + externalDocs: |
| 173 | + description: Docs |
| 174 | + url: https://wiki.brapi.org/ |
| 175 | +- name: Samples |
| 176 | + description: Information about physical samples |
| 177 | + externalDocs: |
| 178 | + description: Docs |
| 179 | + url: https://wiki.brapi.org/ |
| 180 | +- name: References |
| 181 | + description: Genetic sequences used for reference |
| 182 | + externalDocs: |
| 183 | + description: Docs |
| 184 | + url: https://wiki.brapi.org/ |
| 185 | +- name: Reference Sets |
| 186 | + description: Collections of references |
| 187 | + externalDocs: |
| 188 | + description: Docs |
| 189 | + url: https://wiki.brapi.org/ |
| 190 | +- name: Genome Maps |
| 191 | + description: Information about physical and genetic maps |
| 192 | + externalDocs: |
| 193 | + description: Docs |
| 194 | + url: https://wiki.brapi.org/ |
| 195 | +- name: Vendor |
| 196 | + description: This interface is specific to facilities that performs an external analysis, such as genotyping facilities. The interface should be implemented by that facility''s server. The breeding database is the client of this interface. |
| 197 | + externalDocs: |
| 198 | + description: Docs |
| 199 | + url: https://wiki.brapi.org/ |
| 200 | +- name: Germplasm |
| 201 | + description: Information about Germplasm |
| 202 | + externalDocs: |
| 203 | + description: Docs |
| 204 | + url: https://wiki.brapi.org/ |
| 205 | +- name: Germplasm Attributes |
| 206 | + description: Information about Germplasm Attributes |
| 207 | + externalDocs: |
| 208 | + description: Docs |
| 209 | + url: https://wiki.brapi.org/ |
| 210 | +- name: Germplasm Attribute Values |
| 211 | + description: Information about Germplasm Attribute Values |
| 212 | + externalDocs: |
| 213 | + description: Docs |
| 214 | + url: https://wiki.brapi.org/ |
| 215 | +- name: Crossing Projects |
| 216 | + description: Information about Crossing Projects |
| 217 | + externalDocs: |
| 218 | + description: Docs |
| 219 | + url: https://wiki.brapi.org/ |
| 220 | +- name: Crosses |
| 221 | + description: Information about Crosses |
| 222 | + externalDocs: |
| 223 | + description: Docs |
| 224 | + url: https://wiki.brapi.org/ |
| 225 | +- name: Seed Lots |
| 226 | + description: Information about Seed Lots |
| 227 | + externalDocs: |
| 228 | + description: Docs |
| 229 | + url: https://wiki.brapi.org/ |
| 230 | +- name: Observations |
| 231 | + description: Retrieve and edit information about Observations |
| 232 | + externalDocs: |
| 233 | + description: Docs |
| 234 | + url: https://wiki.brapi.org/ |
| 235 | +- name: Observation Units |
| 236 | + description: Retrieve and edit information about Observation Units. An Observation Unit can be anything in a field you might observe as part of a Study |
| 237 | + externalDocs: |
| 238 | + description: Docs |
| 239 | + url: https://wiki.brapi.org/ |
| 240 | +- name: Observation Variables |
| 241 | + description: Retrieve and edit information about Observation Variables. An Observation Variable is composed by the unique combination of one Trait, one Method and one Scale. |
| 242 | + externalDocs: |
| 243 | + description: Docs |
| 244 | + url: https://wiki.brapi.org/ |
| 245 | +- name: Methods |
| 246 | + description: Retrieve and edit information about Methods. |
| 247 | + externalDocs: |
| 248 | + description: Docs |
| 249 | + url: https://wiki.brapi.org/ |
| 250 | +- name: Traits |
| 251 | + description: Retrieve and edit information about Traits. |
| 252 | + externalDocs: |
| 253 | + description: Docs |
| 254 | + url: https://wiki.brapi.org/ |
| 255 | +- name: Scales |
| 256 | + description: Retrieve and edit information about Scales. |
| 257 | + externalDocs: |
| 258 | + description: Docs |
| 259 | + url: https://wiki.brapi.org/ |
| 260 | +- name: Ontologies |
| 261 | + description: Retrieve and edit information about Ontologies used by a server. |
| 262 | + externalDocs: |
| 263 | + description: Docs |
| 264 | + url: https://wiki.brapi.org/ |
| 265 | +- name: Images |
| 266 | + description: Retrieve and edit Images and Image meta-data |
| 267 | + externalDocs: |
| 268 | + description: Docs |
| 269 | + url: https://wiki.brapi.org/ |
| 270 | +- name: Events |
| 271 | + description: Retrieve and edit information about Events. Events can be planned like watering or fertilizing, or unplanned like weather or pests. |
| 272 | + externalDocs: |
| 273 | + description: Docs |
| 274 | + url: https://wiki.brapi.org/ |
| 275 | + |
0 commit comments