Versions Compared

Key

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

This article describes the role of the “Cluster” named graph in MMS5Flexo MMS. Layer 1 forbids arbitrary writes to this graph and instead exposes a set of LDP endpoints.

...

This named graph holds organizational objects that are global to the deployed MMS5 Flexo MMS cluster. Specifically, a Project Repo is the container for version-controlled data (similar to a git repository), a Collection is readonly view that selects the union of any number of Refs when queried, and an Org is an entity that owns Projects Repos or Collections.

Linked Data Platform (LDP) actions

The following list describes the LDP semantics of various HTTP operations available on Cluster objects.

  • /projectsorgs

    • HEAD – Returns state of all orgs along with their entity tags.

    • GET – Enumerates all projects orgs along with their public annotation properties.

    /projects
    • POST – Creates a new org.

  • /orgs/{PROJECTORG_ID}

    • PUTCreates a new projectorg, or replaces an existing one.

      • Required Suggested properties: mms:org {ORG} and dct:title "{PROJECTORG_TITLE}"

    • HEAD/GETReads public annotation properties of the given projectorg.

    • PATCHUpdates an existing projectorg.

    • DELETE -- Deletes a project.

    /collections
    • Deletes an org.

  • /orgs/{ORG_ID}/repos

    • HEAD – Returns state of all repos under the given org, along with their entity tags.

    • GET – Enumerates all projects repos along with their public annotation properties.

    /collections/{COLLECTION
    • POST – Creates a new repo.

  • /orgs/{ORG_ID}/repos/{REPO_ID}

    • PUTCreates a new collectionrepo, or replaces an existing one.

      • Required Suggested properties: mms:org {ORG} and dct:title "{COLLECTIONREPO_TITLE}"

    • HEAD/GETReads public annotation properties of the given repo.

    • PATCHUpdates an existing repo.

    • DELETEDeletes a repo.

  • /orgs/{ORG_ID}/repos/{REPO_ID}/branches

    • HEAD – Returns state of all branches under the given repo, along with their entity tags.

    • GET – Enumerates all branches belonging to the given repo.

  • /orgs/{ORG_ID}/repos/{REPO_ID}/branches/{BRANCH_ID}

    • PUTCreates a new branch

    • HEAD/GETReads public properties of the given projectbranch.

    • PATCHUpdates an existing projectbranch.

    • DELETE -- Deletes a projectbranch.

  • /orgs/{ORG_ID}/repos/{REPO_ID}/locks

    • HEAD – Returns state of all locks under the given repo, along with their entity tags.

    • GET – Enumerates all locks belonging to the given repo.

  • /orgs/{ORG_ID}/repos/{REPO_ID}/locks/{LOCK_ID}

    • PUTCreates a new branch

    • HEAD/GETReads public properties of the given branch.

    • PATCHUpdates an existing branch.

    • DELETEDeletes a branch

  • /orgs/{ORG_ID}/collections/{COLLECTION_ID}

    • GET – Enumerates all collections along with their public annotation properties.

  • /orgs/{ORG_ID}/collections/{COLLECTION_ID}

    • PUTCreates a new orgcollection.

      • Required Suggested properties: dct:title "{ORGCOLLECTION_TITLE}"

    • GETReads public annotation properties of the given orgcollection.

    • PATCHUpdates an existing orgcollection.

    • DELETE -- Deletes an org Deletes a collection.