We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All PUT and POST methods require a requestBody element defining the data to be sent from the client to the server.
PUT
POST
POST /{model-name}
PUT /{model-name}/{identifier}
"requestBody": { "required" : true, "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/OSCAL{ModelName}" } }, "application/xml" : { "schema" : { "$ref" : "#/components/schemas/OSCAL{ModelName}XML" } }, "application/yaml" : { "schema" : { "$ref" : "#/components/schemas/OSCAL{ModelName}" } } } },
PUT /{model-name}/attachment/{resourceUUID}/resource
requestBody: content: application/json: schema: $ref: "#/components/schemas/OSCALResource"
PUT /{model-name}/snapshot/{identifier}
PUT /profile/{identifier}/resolved-snapshot/{identifier}
requestBody: content: application/json: schema: $ref: "#/components/schemas/OSCALsnapshot"
POST /{model-name}/{id}/snapshot
PUT /{model-name}/{id}/snapshot/{id}
{ "snapshot" : { "description" : "markup-multiline", "labels": ["token"], "types" : ["token"] } }
labels have a cardinality of 0 or more
types have a cardinality of 0 or more
description has a cardinality of 0 or 1
The payload for POST /{model-name}/{id}/resolved-snapshot and PUT /{model-name}/{id}/resolved-snapshot/{id}` is specified as follows:
POST /{model-name}/{id}/resolved-snapshot
The text was updated successfully, but these errors were encountered:
Final cleanup (#99)
a9d5091
Replaces the YAML version of the spec with a JSON version, which is updated to resolve: - #96 - #97 - #98
Addressed in PR #99
Sorry, something went wrong.
brian-comply0
No branches or pull requests
All PUT and POST methods require a requestBody element defining the data to be sent from the client to the server.
PUT
andPOST
involving OSCAL content, include the content below. This includes the following endpoints:POST /{model-name}
PUT /{model-name}/{identifier}
PUT /{model-name}/attachment/{resourceUUID}/resource
insert:PUT /{model-name}/snapshot/{identifier}
andPUT /profile/{identifier}/resolved-snapshot/{identifier}
insert:POST /{model-name}/{id}/snapshot
andPUT /{model-name}/{id}/snapshot/{id}
is specified as follows:labels have a cardinality of 0 or more
types have a cardinality of 0 or more
description has a cardinality of 0 or 1
The payload for
POST /{model-name}/{id}/resolved-snapshot
and PUT /{model-name}/{id}/resolved-snapshot/{id}` is specified as follows:The text was updated successfully, but these errors were encountered: