-
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.
- Loading branch information
khazelton
authored
Oct 31, 2018
1 parent
4d7a477
commit 6855205
Showing
1 changed file
with
66 additions
and
0 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| openapi: 3.0.0 | ||
| # Added by API Auto Mocking Plugin | ||
| servers: | ||
| - description: SwaggerHub API Auto Mocking | ||
| url: https://virtserver.swaggerhub.com/TIER_API_and_Schema/IdMatch/1.0.0 | ||
| info: | ||
| version: "1.0.0" | ||
| title: IdMatch | ||
| description: >- | ||
| API used by a System of Record to obtain an enterprise identifier for a person new to them; Handles different cases (unique determination, multiple candidates, etc.) | ||
| security: | ||
| - accessCode: | ||
| - read | ||
| - write | ||
| paths: | ||
| /people/{SorId}/{personId}: | ||
| put: | ||
| summary: Attempt match for an SoR person | ||
| operationId: Reference Identifier Request | ||
| parameters: | ||
| - in: path | ||
| name: SorId | ||
| schema: | ||
| type: string | ||
| required: true | ||
| description: Identifier of the System of Record | ||
| - in: path | ||
| name: personId | ||
| schema: | ||
| type: string | ||
| required: true | ||
| description: SoR's identifier for the person | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| get: | ||
| summary: Attempt match for an SoR person | ||
| operationId: Request Search Only | ||
| parameters: | ||
| - in: path | ||
| name: SorId | ||
| schema: | ||
| type: string | ||
| required: true | ||
| description: Identifier of the System of Record | ||
| - in: path | ||
| name: personId | ||
| schema: | ||
| type: string | ||
| required: true | ||
| description: SoR's identifier for the person | ||
| security: [] | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| components: | ||
| securitySchemes: | ||
| accessCode: | ||
| type: oauth2 | ||
| flows: | ||
| authorizationCode: | ||
| authorizationUrl: 'http://example.com/oauth/auth' | ||
| tokenUrl: 'http://example.com/oauth/token' | ||
| scopes: | ||
| write: allows modifying resources | ||
| read: allows reading resources |