|
9 | 9 | "url": "https://creativecommons.org/licenses/by/4.0/" |
10 | 10 | } |
11 | 11 | }, |
| 12 | + "tags": [ |
| 13 | + { |
| 14 | + "name": "required", |
| 15 | + "description": "This endpoint is REQUIRED by the HSDS API Specification", |
| 16 | + "externalDocs": { |
| 17 | + "description": "This URI points to the codelist file used to define the codes in HSDS which are then used to define this tag. The OpenAPI Tag objects are used to implement the codelist, whereas the canonical definition is in the codelist. If there are any discrepancies between the description of this OpenAPI Tag and the codelist, the codelist takes priority.", |
| 18 | + "url": "https://docs.openreferral.org/en/latest/hsds/codelists.html#api-endpoint-requirement" |
| 19 | + } |
| 20 | + }, |
| 21 | + { |
| 22 | + "name": "optional", |
| 23 | + "description": "This endpoint is OPTIONAL in the HSDS API Specification", |
| 24 | + "externalDocs": { |
| 25 | + "description": "This URI points to the codelist file used to define the codes in HSDS which are then used to define this tag. The OpenAPI Tag objects are used to implement the codelist, whereas the canonical definition is in the codelist. If there are any discrepancies between the description of this OpenAPI Tag and the codelist, the codelist takes priority.", |
| 26 | + "url": "https://docs.openreferral.org/en/latest/hsds/codelists.html#api-endpoint-requirement" |
| 27 | + } |
| 28 | + } |
| 29 | + ], |
12 | 30 | "paths": { |
13 | 31 | "/": { |
14 | 32 | "get": { |
15 | 33 | "description": "Retrieve information about this API and its relationship with HSDS.", |
16 | 34 | "summary": "Retrieve information about this API and its relationship with HSDS.", |
17 | 35 | "operationId": "getAPIMetaInformation", |
| 36 | + "tags": [ |
| 37 | + "required" |
| 38 | + ], |
18 | 39 | "responses": { |
19 | 40 | "200": { |
20 | 41 | "description": "A JSON response providing information about this API.", |
|
36 | 57 | "type": "string", |
37 | 58 | "format": "uri", |
38 | 59 | "description": "URL of the openapi JSON file which defines this API." |
| 60 | + }, |
| 61 | + "description": { |
| 62 | + "type": "string", |
| 63 | + "description": "A human-readable description of this API feed" |
| 64 | + }, |
| 65 | + "data_guide": { |
| 66 | + "type": "string", |
| 67 | + "format": "uri", |
| 68 | + "description": "A URI to a human-readable data guide which can support people understanding this dataset." |
| 69 | + }, |
| 70 | + "publisher": { |
| 71 | + "type": "object", |
| 72 | + "properties": { |
| 73 | + "name": { |
| 74 | + "type": "string", |
| 75 | + "description": "The name of the publisher of this API feed." |
| 76 | + }, |
| 77 | + "identifier": { |
| 78 | + "type": "string", |
| 79 | + "description": "An organization identifier string formatted according to org-id.guide e.g. GB-COH-123456." |
| 80 | + }, |
| 81 | + "email": { |
| 82 | + "type": "string", |
| 83 | + "format": "email", |
| 84 | + "description": "An email address that can be used to submit feedback about data in this feed." |
| 85 | + }, |
| 86 | + "website": { |
| 87 | + "type": "string", |
| 88 | + "format": "uri", |
| 89 | + "description": "A URL that can be used to submit feedback about data in this feed." |
| 90 | + }, |
| 91 | + "additional_websites": { |
| 92 | + "type": "array", |
| 93 | + "description": "Additional URLs that can be used to contact the Publisher about data in this feed.", |
| 94 | + "items": { |
| 95 | + "type": "string", |
| 96 | + "format": "uri" |
| 97 | + } |
| 98 | + } |
| 99 | + } |
39 | 100 | } |
40 | 101 | } |
41 | 102 | } |
|
61 | 122 | "description": "Retrieve fully nested service with all related data with id.", |
62 | 123 | "summary": "Retrieves a fully nested service with all related data with id.", |
63 | 124 | "operationId": "getFullyNestedServiceById", |
| 125 | + "tags": [ |
| 126 | + "required" |
| 127 | + ], |
64 | 128 | "responses": { |
65 | 129 | "200": { |
66 | 130 | "description": "A Service matching the {id}, with all related data according to the HSDS Specification for Service.", |
|
80 | 144 | "description": "Retrieve fully nested service with all related data with id.", |
81 | 145 | "summary": "Retrieves paginated listings of services that only have one-to-one fields in them.", |
82 | 146 | "operationId": "getPaginatedListOfServices", |
| 147 | + "tags": [ |
| 148 | + "required" |
| 149 | + ], |
83 | 150 | "parameters": [ |
84 | 151 | { |
85 | 152 | "$ref": "#/components/parameters/search" |
|
143 | 210 | "description": "Retrieve fully nested service with all related data with id.", |
144 | 211 | "summary": "Retrieves paginated listings of services that only have one-to-one fields in them.", |
145 | 212 | "operationId": "getPaginatedListOfServices", |
| 213 | + "tags": [ |
| 214 | + "optional" |
| 215 | + ], |
146 | 216 | "parameters": [ |
147 | 217 | { |
148 | 218 | "$ref": "#/components/parameters/search" |
|
219 | 289 | "description": "Full information on taxonomy.", |
220 | 290 | "summary": "Retrieves full information on a taxonomy by {id}.", |
221 | 291 | "operationId": "getTaxonomyById", |
| 292 | + "tags": [ |
| 293 | + "optional" |
| 294 | + ], |
222 | 295 | "responses": { |
223 | 296 | "200": { |
224 | 297 | "description": "Full information on taxonomy.", |
|
238 | 311 | "description": "Paginated listing of taxonomies.", |
239 | 312 | "summary": "Paginated listing of taxonomies.", |
240 | 313 | "operationId": "getPaginatedListOfTaxonomies", |
| 314 | + "tags": [ |
| 315 | + "optional" |
| 316 | + ], |
241 | 317 | "parameters": [ |
242 | 318 | { |
243 | 319 | "$ref": "#/components/parameters/search" |
|
281 | 357 | "description": "Paginated listing of taxonomies.", |
282 | 358 | "summary": "Paginated listing of taxonomies.", |
283 | 359 | "operationId": "getPaginatedListOfTaxonomies", |
| 360 | + "tags": [ |
| 361 | + "optional" |
| 362 | + ], |
284 | 363 | "parameters": [ |
285 | 364 | { |
286 | 365 | "$ref": "#/components/parameters/search" |
|
337 | 416 | "description": "Full information on a taxonomy term.", |
338 | 417 | "summary": "Full information on a taxonomy term.", |
339 | 418 | "operationId": "getPaginatedListOfTaxonomyTerms", |
| 419 | + "tags": [ |
| 420 | + "optional" |
| 421 | + ], |
340 | 422 | "responses": { |
341 | 423 | "200": { |
342 | 424 | "description": "Full information on a taxonomy term.", |
|
356 | 438 | "description": "Full information on a taxonomy term", |
357 | 439 | "summary": "Paginated listing of taxonomy terms", |
358 | 440 | "operationId": "getTaxonomyTermById", |
| 441 | + "tags": [ |
| 442 | + "optional" |
| 443 | + ], |
359 | 444 | "parameters": [ |
360 | 445 | { |
361 | 446 | "$ref": "#/components/parameters/search" |
|
420 | 505 | "description": "Full information on a taxonomy term", |
421 | 506 | "summary": "Paginated listing of taxonomy terms", |
422 | 507 | "operationId": "getTaxonomyTermById", |
| 508 | + "tags": [ |
| 509 | + "optional" |
| 510 | + ], |
423 | 511 | "parameters": [ |
424 | 512 | { |
425 | 513 | "$ref": "#/components/parameters/search" |
|
497 | 585 | "description": "Fully nested organization with service array that contains simple information which could only contain the service.id.", |
498 | 586 | "summary": "Fully nested organization with service array that contains simple information which could only contain the service.id.", |
499 | 587 | "operationId": "getOrganizationById", |
| 588 | + "tags": [ |
| 589 | + "optional" |
| 590 | + ], |
500 | 591 | "parameters": [ |
501 | 592 | { |
502 | 593 | "$ref": "#/components/parameters/full_service" |
|
521 | 612 | "description": "Paginated list of basic Organization information.", |
522 | 613 | "summary": "Paginated list of basic Organization information", |
523 | 614 | "operationId": "getPaginatedListOfOrganizations", |
| 615 | + "tags": [ |
| 616 | + "optional" |
| 617 | + ], |
524 | 618 | "parameters": [ |
525 | 619 | { |
526 | 620 | "$ref": "#/components/parameters/search" |
|
577 | 671 | "description": "Paginated list of basic Organization information.", |
578 | 672 | "summary": "Paginated list of basic Organization information", |
579 | 673 | "operationId": "getPaginatedListOfOrganizations", |
| 674 | + "tags": [ |
| 675 | + "optional" |
| 676 | + ], |
580 | 677 | "parameters": [ |
581 | 678 | { |
582 | 679 | "$ref": "#/components/parameters/search" |
|
646 | 743 | "description": "Retrieve fully nested service_at_location with all related data with specified id.", |
647 | 744 | "summary": "Retrieve fully nested service_at_location with all related data with specified id.", |
648 | 745 | "operationId": "getServiceAtLocationWithNestedDataById", |
| 746 | + "tags": [ |
| 747 | + "optional" |
| 748 | + ], |
649 | 749 | "responses": { |
650 | 750 | "200": { |
651 | 751 | "description": "Retrieve fully nested service_at_location with all related data with specified id.", |
|
665 | 765 | "description": "Retrieve paginated listings of service_at_location that only have one-to-one fields in them.", |
666 | 766 | "summary": "Retrieve paginated listings of service_at_location that only have one-to-one fields in them.", |
667 | 767 | "operationId": "getPaginatedListOfServiceAtLocation", |
| 768 | + "tags": [ |
| 769 | + "optional" |
| 770 | + ], |
668 | 771 | "parameters": [ |
669 | 772 | { |
670 | 773 | "$ref": "#/components/parameters/search" |
|
730 | 833 | "description": "Retrieve paginated listings of service_at_location that only have one-to-one fields in them.", |
731 | 834 | "summary": "Retrieve paginated listings of service_at_location that only have one-to-one fields in them.", |
732 | 835 | "operationId": "getPaginatedListOfServiceAtLocation", |
| 836 | + "tags": [ |
| 837 | + "optional" |
| 838 | + ], |
733 | 839 | "parameters": [ |
734 | 840 | { |
735 | 841 | "$ref": "#/components/parameters/search" |
|
0 commit comments