diff --git a/EI-IICS-Team/FP&M_PoC/GET_suporgs_paging.json b/EI-IICS-Team/FP&M_PoC/GET_suporgs_paging.json new file mode 100644 index 0000000000000000000000000000000000000000..5dd97ee9f82481cd6539d7e5340c58a8f08905cb --- /dev/null +++ b/EI-IICS-Team/FP&M_PoC/GET_suporgs_paging.json @@ -0,0 +1,206 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/hr", + "schemes" : [ "https" ], + "paths" : { + "/supervisoryOrganizations" : { + "get" : { + "tags" : [ "GET_suporgs" ], + "summary" : null, + "description" : null, + "operationId" : "GET_suporgs", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "pageNumber", + "in" : "query", + "description" : null, + "required" : false, + "type" : "number", + "format" : "int32" + }, { + "name" : "pageSize", + "in" : "query", + "description" : null, + "required" : false, + "type" : "number", + "format" : "int32" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/GET_suporgs" + } + } + } + } + } + }, + "definitions" : { + "GET_suporgs##data##attributes" : { + "properties" : { + "code" : { + "type" : "string" + }, + "name" : { + "type" : "string" + }, + "supervisoryOrganizationType" : { + "type" : "string" + } + } + }, + "GET_suporgs##data##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "GET_suporgs##data##relationships##subordinateOrganizations##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GET_suporgs##data##relationships##subordinateOrganizations" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships##subordinateOrganizations##data" + } + } + } + }, + "GET_suporgs##data##relationships" : { + "properties" : { + "subordinateOrganizations" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships##subordinateOrganizations" + }, + "superiorOrganization" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships##superiorOrganization" + } + } + }, + "GET_suporgs##data##relationships##superiorOrganization##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GET_suporgs##data##relationships##superiorOrganization##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GET_suporgs##data##relationships##superiorOrganization" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships##superiorOrganization##data" + }, + "links" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships##superiorOrganization##links" + } + } + }, + "GET_suporgs##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/GET_suporgs##data##attributes" + }, + "id" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/GET_suporgs##data##links" + }, + "relationships" : { + "$ref" : "#/definitions/GET_suporgs##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "GET_suporgs##links" : { + "properties" : { + "first" : { + "type" : "string" + }, + "last" : { + "type" : "string" + }, + "next" : { + "type" : "string" + }, + "self" : { + "type" : "string" + } + } + }, + "GET_suporgs##meta##paging" : { + "properties" : { + "pageNumber" : { + "type" : "number", + "format" : "int32" + }, + "pageSize" : { + "type" : "number", + "format" : "int32" + }, + "totalCount" : { + "type" : "number", + "format" : "int32" + }, + "totalPages" : { + "type" : "number", + "format" : "int32" + } + } + }, + "GET_suporgs##meta" : { + "properties" : { + "paging" : { + "$ref" : "#/definitions/GET_suporgs##meta##paging" + } + } + }, + "GET_suporgs" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GET_suporgs##data" + } + }, + "links" : { + "$ref" : "#/definitions/GET_suporgs##links" + }, + "meta" : { + "$ref" : "#/definitions/GET_suporgs##meta" + } + } + } + } +} \ No newline at end of file