From 659dcb337417554eff7d531117506af82f252436 Mon Sep 17 00:00:00 2001 From: Harsha Gummadavelli <hvardhan@wisc.edu> Date: Wed, 28 Feb 2024 23:07:04 -0600 Subject: [PATCH] Upload New File --- .../GetPeopleByID/getpeople_with_netid.json | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 ASP-IICS-Team/GetPeopleByID/getpeople_with_netid.json diff --git a/ASP-IICS-Team/GetPeopleByID/getpeople_with_netid.json b/ASP-IICS-Team/GetPeopleByID/getpeople_with_netid.json new file mode 100644 index 0000000..334346a --- /dev/null +++ b/ASP-IICS-Team/GetPeopleByID/getpeople_with_netid.json @@ -0,0 +1,129 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "mock.api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/{id}/identifiers?filter[name]=netId" : { + "get" : { + "tags" : [ "getpeople_with_netid" ], + "summary" : null, + "description" : null, + "operationId" : "getpeople_with_netid", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getpeople_with_netid" + } + } + } + } + } + }, + "definitions" : { + "getpeople_with_netid##data##attributes" : { + "properties" : { + "current" : { + "type" : "boolean" + }, + "name" : { + "type" : "string" + }, + "source" : { + "type" : "string" + }, + "value" : { + "type" : "string" + } + } + }, + "getpeople_with_netid##data##relationships##person##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getpeople_with_netid##data##relationships##person##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getpeople_with_netid##data##relationships##person" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/getpeople_with_netid##data##relationships##person##data" + }, + "links" : { + "$ref" : "#/definitions/getpeople_with_netid##data##relationships##person##links" + } + } + }, + "getpeople_with_netid##data##relationships" : { + "properties" : { + "person" : { + "$ref" : "#/definitions/getpeople_with_netid##data##relationships##person" + } + } + }, + "getpeople_with_netid##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getpeople_with_netid##data##attributes" + }, + "id" : { + "type" : "string" + }, + "relationships" : { + "$ref" : "#/definitions/getpeople_with_netid##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "getpeople_with_netid##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getpeople_with_netid" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getpeople_with_netid##data" + } + }, + "links" : { + "$ref" : "#/definitions/getpeople_with_netid##links" + } + } + } + } +} \ No newline at end of file -- GitLab