Skip to content

Commit

Permalink
Update the OAS to use object_id where appropriate
Browse files Browse the repository at this point in the history
This allows it to match up with the rails routes
  • Loading branch information
jcoyne committed Nov 8, 2019
1 parent 742df7b commit a5aac34
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions openapi.json
Expand Up @@ -594,7 +594,7 @@
]
}
},
"/objects/{id}/query/collections": {
"/objects/{object_id}/query/collections": {
"get": {
"tags": [
"objects"
Expand All @@ -609,7 +609,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand Down Expand Up @@ -716,7 +716,7 @@
]
}
},
"/objects/{id}/embargo": {
"/objects/{object_id}/embargo": {
"patch": {
"tags": [
"embargoes"
Expand All @@ -731,7 +731,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand Down Expand Up @@ -787,7 +787,7 @@
]
}
},
"/objects/{id}/metadata/dublin_core": {
"/objects/{object_id}/metadata/dublin_core": {
"get": {
"tags": [
"objects"
Expand All @@ -802,7 +802,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand All @@ -813,7 +813,7 @@
]
}
},
"/objects/{id}/metadata/descriptive": {
"/objects/{object_id}/metadata/descriptive": {
"get": {
"tags": [
"objects"
Expand All @@ -828,7 +828,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand All @@ -839,7 +839,7 @@
]
}
},
"/objects/{id}/versions/openable": {
"/objects/{object_id}/versions/openable": {
"get": {
"tags": [
"versions"
Expand All @@ -854,7 +854,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand All @@ -865,7 +865,7 @@
]
}
},
"/objects/{id}/versions/current": {
"/objects/{object_id}/versions/current": {
"get": {
"tags": [
"versions"
Expand All @@ -880,7 +880,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand All @@ -891,7 +891,7 @@
]
}
},
"/objects/{id}/versions/current/close": {
"/objects/{object_id}/versions/current/close": {
"post": {
"tags": [
"versions"
Expand All @@ -906,7 +906,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand All @@ -917,7 +917,7 @@
]
}
},
"/objects/{id}/versions": {
"/objects/{object_id}/versions": {
"post": {
"tags": [
"versions"
Expand All @@ -932,7 +932,7 @@
},
"parameters": [
{
"name": "id",
"name": "object_id",
"in": "path",
"description": "ID of object",
"required": true,
Expand Down

0 comments on commit a5aac34

Please sign in to comment.