Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Aliases Profile

cavis edited this page · 16 revisions
Clone this wiki locally

The Aliases Profile defines semantics for documents that contain mappings of aliases to guids.

View it at https://api.pmp.io/profiles/aliases

Sample Document

{
  "version": "1.0",
  "href": "https://api.pmp.io/docs/da4bcd28-7c39-4b35-98f6-a2627858ee46",
  "attributes": {
    "valid": {
      "from": "1999-12-31T23:59:59+00:00",
      "to": "2000-01-01T00:00:01+00:00"
    },
    "created": "2014-06-22T14:03:48+00:00",
    "modified": "2014-06-22T14:03:48+00:00",
    "published": "2014-06-22T14:03:48+00:00",
    "guid": "da4bcd28-7c39-4b35-98f6-a2627858ee46",
    "title": "Example of an aliases document",
    "aliases": [
      {
        "name": "foobar",
        "guid": "1f23d1f0-65d7-48f0-a590-99b70deeb58c"
      },
      {
        "name": "penmanship",
        "guid": "c11a2fa3-b6eb-4972-8ad5-07f8b059ff48"
      },
      {
        "name": "awesomeness",
        "guid": "b7095c10-9172-4863-9314-c1021aab24af"
      }
    ]
  },
  "links": {
    "profile": [
      {
        "href": "https://api.pmp.io/profiles/aliases"
      }
    ],
    "creator": [
      {
        "href": "https://api.pmp.io/docs/bc3dcdf2-b9fe-4e2c-8c61-e688c3100a96"
      }
    ],
    "navigation": [
      {
        "href": "https://api.pmp.io/docs?guid=da4bcd28-7c39-4b35-98f6-a2627858ee46",
        "rels": [
          "self"
        ]
      }
    ]
  }
}

Fields

  • aliases: required. Array aliases
  • name: required. The name of the alias.
  • guid: required. The GUID that maps to the alias.
Something went wrong with that request. Please try again.