Skip to content

Commit

Permalink
docs: add on-request data-source as example in asset-creation (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmberthold authored Aug 21, 2024
1 parent 09009c6 commit 7fb691d
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions docs/api/postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"info": {
"_postman_id": "5f373580-db27-4daf-86e8-84bc8ed933c8",
"_postman_id": "3e0d6241-260c-42d3-81a1-3e3d4e9497e1",
"name": "sovity EDC Community Edition Copy",
"description": "This is the official postman collection for the sovity EDC Community Edition.\n\nThe Management-API is based on core-edc v0.2.1.\n\nsovity EDC Community Edition: [https://github.com/sovity/edc-ce](https://github.com/sovity/edc-ce)\n\nLicense: [https://github.com/sovity/edc-ce/blob/main/LICENSE](https://github.com/sovity/edc-ce/blob/main/LICENSE)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "32949497"
"_exporter_id": "31514741"
},
"item": [
{
Expand Down Expand Up @@ -107,6 +107,36 @@
},
"response": []
},
{
"name": "Create Asset (with data-source on-request)",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": \"testname-v1.0\",\r\n \"title\": \"TestName\",\r\n \"language\": \"https://w3id.org/idsa/code/EN\",\r\n \"description\": \"Testdescription\",\r\n \"publisherHomepage\": \"https://www.sovity.de\",\r\n \"licenseUrl\": \"https://www.apache.org/licenses/LICENSE-2.0\",\r\n \"version\": \"v1.0\",\r\n \"keywords\": [\r\n \"keyword1\",\r\n \"keyword2\"\r\n ],\r\n \"mediaType\": \"application/json\",\r\n \"landingPageUrl\": \"https://www.google.com\",\r\n \"dataAddressProperties\": {\r\n \"https://w3id.org/edc/v0.0.1/ns/type\": \"HttpData\",\r\n \"https://w3id.org/edc/v0.0.1/ns/baseUrl\": \"https://www.google.com\",\r\n \"https://w3id.org/edc/v0.0.1/ns/method\": \"GET\",\r\n \"https://w3id.org/edc/v0.0.1/ns/queryParams\": \"\"\r\n },\r\n \"dataSource\": {\r\n \"type\": \"ON_REQUEST\",\r\n \"onRequest\": {\r\n \"contactEmail\": \"contact@sovity.de\",\r\n \"contactPreferredEmailSubject\": \"This asset is created just for testing purposes\"\r\n }\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{PROVIDER_EDC_MANAGEMENT_URL}}/wrapper/ui/pages/asset-page/assets",
"host": [
"{{PROVIDER_EDC_MANAGEMENT_URL}}"
],
"path": [
"wrapper",
"ui",
"pages",
"asset-page",
"assets"
]
}
},
"response": []
},
{
"name": "Create Asset (with paramterization)",
"request": {
Expand Down Expand Up @@ -2094,4 +2124,4 @@
"type": "default"
}
]
}
}

0 comments on commit 7fb691d

Please sign in to comment.