Skip to content

Commit

Permalink
Merge "REST: Add a Statement to Property examples"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Oct 25, 2024
2 parents 5467744 + 62e47d2 commit a0cdde1
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 4 deletions.
19 changes: 18 additions & 1 deletion repo/rest-api/specs/global/responses.json
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,24 @@
"является"
]
},
"statements": {}
"statements": {
"P1628": [
{
"id": "P694$b4c349a2-c504-4fc5-b7d5-8b781c719d71",
"rank": "normal",
"property": {
"id":"P1628",
"data_type": "url"
},
"value": {
"type": "value",
"content": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
},
"qualifiers": [],
"references": []
}
]
}
}
}
}
Expand Down
12 changes: 11 additions & 1 deletion repo/rest-api/specs/resources/properties/requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,17 @@
"является"
]
},
"statements": { }
"statements": {
"P1628": [
{
"property": { "id":"P1628" },
"value": {
"type": "value",
"content": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
}
}
]
}
}
}
}
Expand Down
33 changes: 31 additions & 2 deletions repo/rest-api/src/RouteHandlers/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,19 @@
"является"
]
},
"statements": {}
"statements": {
"P1628": [
{
"property": {
"id": "P1628"
},
"value": {
"type": "value",
"content": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
}
}
]
}
}
}
}
Expand Down Expand Up @@ -6598,7 +6610,24 @@
"является"
]
},
"statements": {}
"statements": {
"P1628": [
{
"id": "P694$b4c349a2-c504-4fc5-b7d5-8b781c719d71",
"rank": "normal",
"property": {
"id": "P1628",
"data_type": "url"
},
"value": {
"type": "value",
"content": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
},
"qualifiers": [],
"references": []
}
]
}
}
}
}
Expand Down

0 comments on commit a0cdde1

Please sign in to comment.