Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial admin documentation #350

Merged
merged 3 commits into from Jan 18, 2019
Merged

Initial admin documentation #350

merged 3 commits into from Jan 18, 2019

Conversation

hygt
Copy link
Contributor

@hygt hygt commented Jan 15, 2019

No description provided.

Organizations are rooted in the `/v1/orgs` and are used to group and categorize its sub-resources.
An organization it is validated against the [organization schema](https://bluebrain.github.io/nexus/schemas/organization.json).
Organizations are rooted in the `/v1/orgs` path and are used to group and categorize sub-resources.
They are validated against the [organization schema](https://bluebrain.github.io/nexus/schemas/organization.json).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove because it's no longer accurate.

@@ -1,34 +1,36 @@
# Projects

Projects are rooted in the `/v1/projects/{org_label}` and are used to group and categorize its sub-resources. Relevant roles of a projects are:
Projects belong to an `organization` and are rooted in the corresponding `/v1/projects/{org_label}` path.
They are validated against the [project schema](https://bluebrain.github.io/nexus/schemas/project.json).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -1,5 +1,6 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort all fields as per the following example:

{
  "@context": [
    "https://bluebrain.github.io/nexus/contexts/admin.json",
    "https://bluebrain.github.io/nexus/contexts/resource.json"
  ],
  "@type": "ProjectCreated",
  "description": "the project description",
  "base": "http://localhost:8080/base/",
  "vocab": "http://localhost:8080/vocab/",
  "apiMappings": [
    {
      "prefix": "nxv",
      "namespace": "https://bluebrain.github.io/nexus/vocabulary/"
    },
    {
      "prefix": "rdf",
      "namespace": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    }
  ],
  "_uuid": "94463ac0-3e9b-4261-80f5-e4253956eee2",
  "_label": "theprojectlabel",
  "_organizationUuid": "d8cf3015-1bce-4dda-ba80-80cd4b5281e5",
  "_organizationLabel": "thelabel",
  "_rev": 1,
  "_instant": "1970-01-01T00:00:00Z",
  "_subject": "http://localhost:8080/v1/realms/myrealm/users/uuid"
}

@@ -1,9 +1,11 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sort all fields as per the following example:

{
  "@context": [
    "https://bluebrain.github.io/nexus/contexts/admin.json",
    "https://bluebrain.github.io/nexus/contexts/resource.json"
  ],
  "@type": "OrganizationCreated",
  "description": "the description",
  "_uuid": "d8cf3015-1bce-4dda-ba80-80cd4b5281e5",
  "_label": "thelabel",
  "_rev": 1,
  "_instant": "1970-01-01T00:00:00Z",
  "_subject": "http://localhost:8080/v1/realms/myrealm/users/uuid"
}

@bogdanromanx bogdanromanx merged commit 429d5ae into BlueBrain:master Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants