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 @@ ...@@ -14,31 +14,26 @@
"paths" : { "paths" : {
"/certificates" : { "/certificates" : {
"post" : { "post" : {
"tags" : [ "POST_cert" ], "tags" : [ "Post_Cert" ],
"summary" : null, "summary" : null,
"description" : null, "description" : null,
"operationId" : "POST_cert", "operationId" : "Post_Cert",
"produces" : [ "application/json" ], "produces" : [ "application/json" ],
"consumes" : [ "application/json" ], "consumes" : [ "application/json" ],
"parameters" : [ { "parameters" : [ {
"name" : { "name" : "body",
"data": {
"type": "certificates",
"attributes": {
"certificate": "CertPayloadHere"
}
}
},
"in" : "body", "in" : "body",
"description" : null, "description" : null,
"required" : false, "required" : false,
"type" : "string" "schema" : {
} ], "$ref" : "#/definitions/Post_Cert_Request##body"
}
} ],
"responses" : { "responses" : {
"200" : { "200" : {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
"$ref" : "#/definitions/POST_cert" "$ref" : "#/definitions/Post_Cert"
} }
} }
} }
...@@ -46,7 +41,7 @@ ...@@ -46,7 +41,7 @@
} }
}, },
"definitions" : { "definitions" : {
"POST_cert##data##attributes" : { "Post_Cert##data##attributes" : {
"properties" : { "properties" : {
"certificate" : { "certificate" : {
"type" : "string" "type" : "string"
...@@ -62,43 +57,74 @@ ...@@ -62,43 +57,74 @@
} }
} }
}, },
"POST_cert##data##links" : { "Post_Cert##data##links" : {
"properties" : { "properties" : {
"self" : { "self" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"POST_cert##data" : { "Post_Cert##data" : {
"properties" : { "properties" : {
"attributes" : { "attributes" : {
"$ref" : "#/definitions/POST_cert##data##attributes" "$ref" : "#/definitions/Post_Cert##data##attributes"
}, },
"id" : { "id" : {
"type" : "string" "type" : "string"
}, },
"links" : { "links" : {
"$ref" : "#/definitions/POST_cert##data##links" "$ref" : "#/definitions/Post_Cert##data##links"
}, },
"type" : { "type" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"POST_cert##links" : { "Post_Cert##links" : {
"properties" : { "properties" : {
"self" : { "self" : {
"type" : "string" "type" : "string"
} }
} }
}, },
"POST_cert" : { "Post_Cert" : {
"properties" : { "properties" : {
"data" : { "data" : {
"$ref" : "#/definitions/POST_cert##data" "$ref" : "#/definitions/Post_Cert##data"
}, },
"links" : { "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