Skip to content
Snippets Groups Projects

Revert "Edit getPeople.json"

Merged Rebecca Wheeler requested to merge revert-d17d769b into main
1 file
+ 449
35
Compare changes
  • Side-by-side
  • Inline
@@ -8,32 +8,42 @@
@@ -8,32 +8,42 @@
"contact" : null,
"contact" : null,
"license" : null
"license" : null
},
},
"host" : "mock.api.wisc.edu",
"host" : "api.wisc.edu",
"basePath" : "/people",
"basePath" : "/people",
"schemes" : [ "https" ],
"schemes" : [ "https" ],
"paths" : {
"paths" : {
"/certificates" : {
"/" : {
"post" : {
"get" : {
"tags" : [ "Post_Cert" ],
"tags" : [ "getPeople" ],
"summary" : null,
"summary" : null,
"description" : null,
"description" : null,
"operationId" : "Post_Cert",
"operationId" : "getPeople",
"produces" : [ "application/json" ],
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"consumes" : [ "application/json" ],
"parameters" : [ {
"parameters" : [ {
"name" : "body",
"name" : "include",
"in" : "body",
"in" : "query",
"description" : null,
"description" : null,
"required" : false,
"required" : false,
"schema" : {
"type" : "string"
"$ref" : "#/definitions/Post_Cert_Request##body"
}, {
}
"name" : "filter[identifiers.value]",
 
"in" : "query",
 
"description" : null,
 
"required" : false,
 
"type" : "string"
 
}, {
 
"name" : "filter[identifiers.name]",
 
"in" : "query",
 
"description" : null,
 
"required" : false,
 
"type" : "string"
} ],
} ],
"responses" : {
"responses" : {
"200" : {
"200" : {
"description" : "successful operation",
"description" : "successful operation",
"schema" : {
"schema" : {
"$ref" : "#/definitions/Post_Cert"
"$ref" : "#/definitions/getPeople"
}
}
}
}
}
}
@@ -41,90 +51,494 @@
@@ -41,90 +51,494 @@
}
}
},
},
"definitions" : {
"definitions" : {
"Post_Cert##data##attributes" : {
"getPeople##data##attributes" : {
"properties" : {
"properties" : {
"certificate" : {
"emailAddress" : {
 
"type" : "string"
 
},
 
"firstName" : {
"type" : "string"
"type" : "string"
},
},
"createdDate" : {
"lastName" : {
"type" : "string"
"type" : "string"
},
},
"expirationDate" : {
"officeAddress" : {
"type" : "string"
"type" : "string"
},
},
"startDate" : {
"officePhoneNumber" : {
"type" : "string"
"type" : "string"
}
}
}
}
},
},
"Post_Cert##data##links" : {
"getPeople##data##links" : {
"properties" : {
"properties" : {
"self" : {
"self" : {
"type" : "string"
"type" : "string"
}
}
}
}
},
},
"Post_Cert##data" : {
"getPeople##data##meta" : {
"properties" : {
"properties" : {
"attributes" : {
"ferpa" : {
"$ref" : "#/definitions/Post_Cert##data##attributes"
"type" : "boolean"
 
}
 
}
 
},
 
"getPeople##data##relationships##addresses##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
 
"type" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##addresses##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##addresses" : {
 
"properties" : {
 
"data" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##addresses##data"
 
}
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##addresses##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##affiliations##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##affiliations" : {
 
"properties" : {
 
"data" : {
 
"type" : "string"
},
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##affiliations##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##emailAddresses##data" : {
 
"properties" : {
"id" : {
"id" : {
"type" : "string"
"type" : "string"
},
},
 
"type" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##emailAddresses##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##emailAddresses" : {
 
"properties" : {
 
"data" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses##data"
 
}
 
},
"links" : {
"links" : {
"$ref" : "#/definitions/Post_Cert##data##links"
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##identifiers##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
},
},
"type" : {
"type" : {
"type" : "string"
"type" : "string"
}
}
}
}
},
},
"Post_Cert##links" : {
"getPeople##data##relationships##identifiers##links" : {
"properties" : {
"properties" : {
"self" : {
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##identifiers" : {
 
"properties" : {
 
"data" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##identifiers##data"
 
}
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##identifiers##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##jobs##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
 
"type" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##jobs##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##jobs" : {
 
"properties" : {
 
"data" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##jobs##data"
 
}
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##jobs##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##names##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
 
"type" : {
"type" : "string"
"type" : "string"
}
}
}
}
},
},
"Post_Cert" : {
"getPeople##data##relationships##names##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##names" : {
"properties" : {
"properties" : {
"data" : {
"data" : {
"$ref" : "#/definitions/Post_Cert##data"
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##names##data"
 
}
},
},
"links" : {
"links" : {
"$ref" : "#/definitions/Post_Cert##links"
"$ref" : "#/definitions/getPeople##data##relationships##names##links"
 
}
 
}
 
},
 
"getPeople##data##relationships##phoneNumbers##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
}
}
}
}
},
},
"Post_Cert_Request##body##data##attributes" : {
"getPeople##data##relationships##phoneNumbers" : {
"properties" : {
"properties" : {
"certificate" : {
"data" : {
"type" : "string"
"type" : "string"
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers##links"
}
}
}
}
},
},
"Post_Cert_Request##body##data" : {
"getPeople##data##relationships##wiscard##data" : {
"properties" : {
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
"type" : {
"type" : {
"type" : "string"
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##wiscard##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##data##relationships##wiscard" : {
 
"properties" : {
 
"data" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##wiscard##data"
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##wiscard##links"
 
}
 
}
 
},
 
"getPeople##data##relationships" : {
 
"properties" : {
 
"addresses" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##addresses"
 
},
 
"affiliations" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##affiliations"
 
},
 
"emailAddresses" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##emailAddresses"
},
},
 
"identifiers" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##identifiers"
 
},
 
"jobs" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##jobs"
 
},
 
"names" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##names"
 
},
 
"phoneNumbers" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers"
 
},
 
"wiscard" : {
 
"$ref" : "#/definitions/getPeople##data##relationships##wiscard"
 
}
 
}
 
},
 
"getPeople##data" : {
 
"properties" : {
"attributes" : {
"attributes" : {
"$ref" : "#/definitions/Post_Cert_Request##body##data##attributes"
"$ref" : "#/definitions/getPeople##data##attributes"
 
},
 
"id" : {
 
"type" : "string"
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##data##links"
 
},
 
"meta" : {
 
"$ref" : "#/definitions/getPeople##data##meta"
 
},
 
"relationships" : {
 
"$ref" : "#/definitions/getPeople##data##relationships"
 
},
 
"type" : {
 
"type" : "string"
}
}
}
}
},
},
"Post_Cert_Request##body" : {
"getPeople##included##attributes" : {
 
"properties" : {
 
"action" : {
 
"type" : "string"
 
},
 
"actionReason" : {
 
"type" : "string"
 
},
 
"beginDate" : {
 
"type" : "string"
 
},
 
"businessTitle" : {
 
"type" : "string"
 
},
 
"costCenterId" : {
 
"type" : "string"
 
},
 
"costCenterName" : {
 
"type" : "string"
 
},
 
"current" : {
 
"type" : "boolean"
 
},
 
"departmentUnit" : {
 
"type" : "string"
 
},
 
"division" : {
 
"type" : "string"
 
},
 
"divisionCode" : {
 
"type" : "string"
 
},
 
"effectiveDate" : {
 
"type" : "string"
 
},
 
"employeeCategory" : {
 
"type" : "string"
 
},
 
"employeeCategoryCode" : {
 
"type" : "string"
 
},
 
"endDate" : {
 
"type" : "string"
 
},
 
"fullTimeEquivalent" : {
 
"type" : "string"
 
},
 
"institution" : {
 
"type" : "string"
 
},
 
"jobCode" : {
 
"type" : "string"
 
},
 
"locationId" : {
 
"type" : "string"
 
},
 
"managedSupervisoryOrganizationIds" : {
 
"type" : "string"
 
},
 
"payBasis" : {
 
"type" : "string"
 
},
 
"position" : {
 
"type" : "string"
 
},
 
"primary" : {
 
"type" : "boolean"
 
},
 
"relatedSupervisoryOrganizationIds" : {
 
"type" : "string"
 
},
 
"source" : {
 
"type" : "string"
 
},
 
"supervisoryOrganizationCode" : {
 
"type" : "string"
 
},
 
"supervisoryOrganizationId" : {
 
"type" : "string"
 
},
 
"supervisoryOrganizationName" : {
 
"type" : "string"
 
},
 
"title" : {
 
"type" : "string"
 
},
 
"workspaceId" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##included##relationships##person##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
 
"type" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##included##relationships##person##links" : {
 
"properties" : {
 
"related" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##included##relationships##person" : {
"properties" : {
"properties" : {
"data" : {
"data" : {
"$ref" : "#/definitions/Post_Cert_Request##body##data"
"$ref" : "#/definitions/getPeople##included##relationships##person##data"
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##included##relationships##person##links"
 
}
 
}
 
},
 
"getPeople##included##relationships##supervisor##data" : {
 
"properties" : {
 
"id" : {
 
"type" : "string"
 
},
 
"type" : {
 
"type" : "string"
}
}
}
}
},
},
"Post_Cert_Request" : {
"getPeople##included##relationships##supervisor##links" : {
"properties" : {
"properties" : {
"body" : {
"related" : {
"$ref" : "#/definitions/Post_Cert_Request##body"
"type" : "string"
 
}
 
}
 
},
 
"getPeople##included##relationships##supervisor" : {
 
"properties" : {
 
"data" : {
 
"$ref" : "#/definitions/getPeople##included##relationships##supervisor##data"
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##included##relationships##supervisor##links"
 
}
 
}
 
},
 
"getPeople##included##relationships" : {
 
"properties" : {
 
"person" : {
 
"$ref" : "#/definitions/getPeople##included##relationships##person"
 
},
 
"supervisor" : {
 
"$ref" : "#/definitions/getPeople##included##relationships##supervisor"
 
}
 
}
 
},
 
"getPeople##included" : {
 
"properties" : {
 
"attributes" : {
 
"$ref" : "#/definitions/getPeople##included##attributes"
 
},
 
"id" : {
 
"type" : "string"
 
},
 
"relationships" : {
 
"$ref" : "#/definitions/getPeople##included##relationships"
 
},
 
"type" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople##links" : {
 
"properties" : {
 
"self" : {
 
"type" : "string"
 
}
 
}
 
},
 
"getPeople" : {
 
"properties" : {
 
"data" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##data"
 
}
 
},
 
"included" : {
 
"type" : "array",
 
"items" : {
 
"$ref" : "#/definitions/getPeople##included"
 
}
 
},
 
"links" : {
 
"$ref" : "#/definitions/getPeople##links"
}
}
}
}
}
}
Loading