Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • /orgs/{orgId}/repos/{repoId}/query – query project metadata

    • Type: SPARQL 1.1 Query Endpoint

    • GET or POST - execute the SPARQL query against the Metadata graph belonging to the repo corresponding with orgId and projectId

    • OPTIONS - for CORS preflighted requests

    • HEAD (without any query parameters) - No-op

  • /orgs/{orgId}/repos/{repoId}/locks/{lockId}/query – query a model given by the specified lock

    • Type: SPARQL 1.1 Query Endpoint

    • GET or POST - execute the SPARQL query against the lock having the given lockId which belongs to the repo corresponding with orgId and repoId

    • OPTIONS - for CORS preflighted requests

    • HEAD (without any query parameters) - fetch the ETag value that uniquely identifies the current version of the model

  • /orgs/{orgId}/repos/{repoId}/branches/{branchId}/query – query a model given by the specified branch

    • Type: SPARQL 1.1 Query Endpoint

    • GET or POST - execute the SPARQL query against the branch having the given branchId which belongs to the repo corresponding with orgId and repoId

    • OPTIONS - for CORS preflighted requests

    • HEAD (without any query parameters) - fetch the ETag value that uniquely identifies the current version of the model

  • /orgs/{orgId}/repos/{repoId}/branches/{branchId}/update – update a model given by the specified branch

    • Type: SPARQL 1.1 Update Endpoint

    • POST - attempt to apply the SPARQL update against the latest version of the model given branchId which belongs to the project corresponding with orgId and repoId

      • additional required headers: X-MMS-Context-Commit: {COMMIT_URI}

    • OPTIONS - for CORS preflighted requests

  • /orgs/{orgId}/repos/{repoId}/branches/{branchId}/graph – download or upload an entire model as an RDF graph

    • Type: SPARQL 1.1 Graph Store Protocol (GSP) Endpoint

    • GET - retrieve the model as RDF given by branchId which belongs to the project corresponding with orgId and repoId

    • POST - merge the uploaded RDF graph with the model given by branchId which belongs to the project corresponding with orgId and repoId

    • OPTIONS - for CORS preflighted requests

...