Skip to content
Snippets Groups Projects
Commit 4b6ec634 authored by Rebecca Wheeler's avatar Rebecca Wheeler
Browse files

Edit POST_cert.json

parent a80a67a3
No related branches found
No related tags found
No related merge requests found
......@@ -14,31 +14,26 @@
"paths" : {
"/certificates" : {
"post" : {
"tags" : [ "POST_cert" ],
"tags" : [ "Post_Cert" ],
"summary" : null,
"description" : null,
"operationId" : "POST_cert",
"operationId" : "Post_Cert",
"produces" : [ "application/json" ],
"consumes" : [ "application/json" ],
"parameters" : [ {
"name" : {
"data": {
"type": "certificates",
"attributes": {
"certificate": "CertPayloadHere"
}
}
},
"name" : "body",
"in" : "body",
"description" : null,
"required" : false,
"type" : "string"
} ],
"schema" : {
"$ref" : "#/definitions/Post_Cert_Request##body"
}
} ],
"responses" : {
"200" : {
"description" : "successful operation",
"schema" : {
"$ref" : "#/definitions/POST_cert"
"$ref" : "#/definitions/Post_Cert"
}
}
}
......@@ -46,7 +41,7 @@
}
},
"definitions" : {
"POST_cert##data##attributes" : {
"Post_Cert##data##attributes" : {
"properties" : {
"certificate" : {
"type" : "string"
......@@ -62,43 +57,74 @@
}
}
},
"POST_cert##data##links" : {
"Post_Cert##data##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"POST_cert##data" : {
"Post_Cert##data" : {
"properties" : {
"attributes" : {
"$ref" : "#/definitions/POST_cert##data##attributes"
"$ref" : "#/definitions/Post_Cert##data##attributes"
},
"id" : {
"type" : "string"
},
"links" : {
"$ref" : "#/definitions/POST_cert##data##links"
"$ref" : "#/definitions/Post_Cert##data##links"
},
"type" : {
"type" : "string"
}
}
},
"POST_cert##links" : {
"Post_Cert##links" : {
"properties" : {
"self" : {
"type" : "string"
}
}
},
"POST_cert" : {
"Post_Cert" : {
"properties" : {
"data" : {
"$ref" : "#/definitions/POST_cert##data"
"$ref" : "#/definitions/Post_Cert##data"
},
"links" : {
"$ref" : "#/definitions/POST_cert##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"
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment