CatalogRPC

Request dataset from peer (RPC)

Changed on
post/dsp/current/catalogs/rpc/setup-dataset-request

Request

  • Base URL: http://localhost:8080/api
  • URL: http://localhost:8080/api/dsp/current/catalogs/rpc/setup-dataset-request
  • Auth: none declared

Request body

associatedAgentPeerstring
datasetstring urn

Example request

{
  "associatedAgentPeer": "did:jwk:eyJrdHkiOiJSU0Ei...",
  "dataset": "urn:dataset:828b4b4d-931e-45dd-b40b-b15251fa6487"
}

Response

Dataset returned

@typestring
@idstring
conformsTostring
titlestring

Example response

{
  "@context": [
    "https://w3id.org/dspace/2025/1/context.jsonld"
  ],
  "@type": "Dataset",
  "@id": "urn:dataset:10825ca3-a75e-43bd-9a82-603759cb8dec",
  "identifier": "urn:dataset:10825ca3-a75e-43bd-9a82-603759cb8dec",
  "issued": "2026-01-10T14:23:29.091150",
  "title": "superfoaf",
  "hasPolicy": [
    {
      "@id": "urn:odrl-policy:3953b047-0aa5-4649-a0bd-0522f77d018b",
      "permission": [
        {
          "action": "use"
        }
      ],
      "@type": "Offer"
    }
  ],
  "distribution": [
    {
      "@type": "Distribution",
      "@id": "urn:distribution:77116828-c4dd-4632-8946-969bb7903819",
      "accessService": {
        "@type": "DataService",
        "@id": "urn:data-service:37840ca3-79f6-4542-8394-0c57dd93650f",
        "endpointURL": "http://127.0.0.1:1200/dsp/current"
      },
      "issued": "2026-01-10T14:24:29.424022",
      "title": "superfoaf",
      "formats": "http+push"
    }
  ]
}

Changes