-
Rebecca Wheeler authoredRebecca Wheeler authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
POST_cert.json 2.88 KiB
{
"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" : {
"/certificates" : {
"post" : {
"tags" : [ "Post_Cert" ],
"summary" : null,
"description" : null,
"operationId" : "Post_Cert",
"produces" : [ "application/vnd.api+json" ],
"consumes" : [ "application/vnd.api+json" ],
"parameters" : [ {
"name" : "body",
"in" : "body",
"description" : null,
"required" : false,
"schema" : {
"$ref" : "#/definitions/Post_Cert_Request##body"
}
} ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/Post_Cert"
}
}
}
}
}
},
"definitions" : {
"Post_Cert##data##attributes" : {
"properties" : {
"certificate" : {
"type" : "string"
},
"createdDate" : {
"type" : "string"
},
"expirationDate" : {
"type" : "string"
},
"startDate" : {
"type" : "string"
}
}
},
"Post_Cert##data##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"Post_Cert##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/Post_Cert##data##attributes"
},
"id" : {
"type" : "string"
},
"links" : {
"$ref" : "#/definitions/Post_Cert##data##links"
},
"type" : {
"type" : "string"
}
}
},
"Post_Cert##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"Post_Cert" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/Post_Cert##data"
},
"links" : {
"$ref" : "#/definitions/Post_Cert##links"
}
}
},
"Post_Cert_Request##body##data##attributes" : {
"properties" : {
"certificate" : {
"type" : "string"
}
}
},
"Post_Cert_Request##body##data" : {
"properties" : {
"type" : {
"type" : "string"
},
"attributes" : {
"$ref" : "#/definitions/Post_Cert_Request##body##data##attributes"
}
}
},
"Post_Cert_Request##body" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/Post_Cert_Request##body##data"
}
}
},
"Post_Cert_Request" : {
"properties" : {
"body" : {
"$ref" : "#/definitions/Post_Cert_Request##body"
}
}
}
}
}