Org API
CreateOrg
GraphQL
mutation CreateOrg {  createOrg(    input: {      id: "00000000-0000-0000-0000-000000000000"      name: "My Org"    }  ) {    org {      id      name    }  }}Response
{  "data": {    "createOrg": {      "org": {        "id": "00000000-0000-0000-0000-000000000000",        "name": "My Org"      }    }  }}Connect
pkgx http POST \  http://localhost:9090/org.v1beta1.OrgService/CreateOrg <<<'  {    "id": "00000000-0000-0000-0000-000000000000",    "name": "My Org"  }  'curl -v http://localhost:9090/org.v1beta1.OrgService/CreateOrg \  -H "Content-Type: application/json" \  --data-binary @- <<EOF  {    "id": "00000000-0000-0000-0000-000000000000",    "name": "My Org"  }EOFpkgx grpcurl \  -use-reflection \  -plaintext \  -d @ localhost:9090 \  org.v1beta1.OrgService/CreateOrg <<EOM{  "id": "00000000-0000-0000-0000-000000000000",  "name": "My Org"}EOMResponse
{  "org": {    "id": "00000000-0000-0000-0000-000000000000",    "name": "My Org"  }}REST
pkgx http \  http://localhost:9090/orgs/00000000-0000-0000-0000-000000000000 \    id="00000000-0000-0000-0000-000000000000" \    name="My Org"curl -v http://localhost:9090/orgs/00000000-0000-0000-0000-000000000000 \  -H "Content-Type: application/json" \  --data-binary @- <<EOF  {    "id": "00000000-0000-0000-0000-000000000000",    "name": "My Org"  }EOFGetOrg
GraphQL
query GetOrg {  org(id: "d0d77fa9-faa5-4a7d-83a3-92fe3a83544c") {    org {      id      name    }  }}Connect
pkgx http POST \  http://localhost:9090/org.v1beta1.OrgService/GetOrg <<<'  {    "id": "9997faf2-b1f1-4982-8c75-8d05a73d88f4"  }  'curl -v http://localhost:9090/org.v1beta1.OrgService/GetOrg \  -H "Content-Type: application/json" \  --data-binary @- <<EOF  {    "id": "9997faf2-b1f1-4982-8c75-8d05a73d88f4"  }EOFpkgx grpcurl \  -use-reflection \  -plaintext \  -d @ localhost:9090 \  org.v1beta1.OrgService/GetOrg <<EOM{  "id": "9997faf2-b1f1-4982-8c75-8d05a73d88f4"}EOMResponse
{  "org": {    "id": "9997faf2-b1f1-4982-8c75-8d05a73d88f4",    "name": "Org 1"  }}REST
pkgx http \  http://localhost:9090/orgs/9997faf2-b1f1-4982-8c75-8d05a73d88f4curl -v http://localhost:9090/orgs/9997faf2-b1f1-4982-8c75-8d05a73d88f4