Skip to content

Commit

Permalink
#13 Removing references to json-ld w/r/t the API envelope.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahripak committed Feb 28, 2019
1 parent 98850ef commit c44e813
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions ob-connect_v1p0_draft.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,9 @@ <h3>JSON Web Key Set</h3>

<section id="api-envelope">
<h3>Envelope</h3>
<p>Responses from all APIs in this document are wrapped in a JSON-LD envelope. It MUST include the Badge Connect context URL and pass the Badge Connect v1 JSON-schema prior to compaction.</p>
<p>Responses from all APIs in this document are wrapped in an API envelope.</p>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"pagination": {
"page": 2,
"perPage": 10,
Expand Down Expand Up @@ -782,8 +780,6 @@ <h3>Responses</h3>
<h4>200 GET Assertions Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"pagination": {
"page": 2,
"perPage": 10,
Expand Down Expand Up @@ -812,8 +808,6 @@ <h4>200 GET Assertions Response</h4>
<h4>200 POST Assertion Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": null,
"statusCode": 200,
Expand All @@ -826,8 +820,6 @@ <h4>200 POST Assertion Response</h4>
<h4>200 GET Profile Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": null,
"statusCode": 200,
Expand All @@ -851,8 +843,6 @@ <h4>200 GET Profile Response</h4>
<h4>200 POST Profile Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": null,
"statusCode": 200,
Expand All @@ -876,8 +866,6 @@ <h4>200 POST Profile Response</h4>
<h4>400 Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": "Additional information regarding the error in human readable format.",
"statusCode": 400,
Expand Down Expand Up @@ -916,8 +904,6 @@ <h4>400 Response</h4>
<h4>401 Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": "Additional information regarding the error in human readable format.",
"statusCode": 401,
Expand All @@ -931,8 +917,6 @@ <h4>401 Response</h4>
<h4>404 Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": null,
"statusCode": 404,
Expand All @@ -945,8 +929,6 @@ <h4>404 Response</h4>
<h4>405 Response</h4>
<pre>
{
"@context": "https://example.com/to/be/determined/context.json",

"status": {
"error": "Additional information regarding the error in human readable format.",
"statusCode": 405,
Expand Down

0 comments on commit c44e813

Please sign in to comment.