Changes between Version 10 and Version 11 of GeniApiIdentifiers
- Timestamp:
- 03/20/14 09:06:27 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeniApiIdentifiers
v10 v11 82 82 Essentially, to be a valid authority for a namespace, the authority name must be a prefix of the names in its namespace. EG: `a\.b` is an authority for, `a\.b.c.d`, but `a` is not an authority for, `a\.b.c.d` (the subject's name starts with `a.b`, where we've escaped the `.`). Also any authority name is an authority for itself. 83 83 84 Authority strings are to be treated as case insensitive for comparison purposes, though they should be case sensitive for display purposes (i.e. case preserving). This is consistent with the DNS standard as these are generally hostnames. 85 84 86 === Type === 85 87 The <type> string has not yet been completely specified, but is used to identify the kind of resource being identified. Many APIs require use of URNs with particular types. Use the defined types below, unless they simply do not fit for you. In which case, please [mailto:help@geni.net contact the GPO] to inform them of your new type. … … 117 119 - Format: `urn:publicid:IDN+<SA name>+slice+<slice name>` 118 120 - Slice names are <=19 characters, only alphanumeric plus hyphen (no hyphen in first character): `'^[a-zA-Z0-9][-a-zA-Z0-9]\{0,18\}$'` 121 - Slice names are case insensitive for comparison purposes, but should be treated as case sensitive for display purposes. In other words, servers should preserve the case. 119 122 120 123 '''Sliver''': … … 123 126 - Sliver names 124 127 - Must be unique over time within that AM, and are selected by the AM. 125 - May use only alphanumeric characters plus hyphen .128 - May use only alphanumeric characters plus hyphen, period, or underscore: `'[a-zA-Z0-9\.\-_]+'` 126 129 127 130 '''User''': 128 131 - Usernames are case-insensitive internally, though they may be case-sensitive in display. 129 132 - EG !JohnSmth as a display name is johnsmth internally, and there cannot also be a user `JOHNSMTH`. 133 - In other words, usernames are case insensitive for comparison but case preserving. 130 134 - Usernames should begin with a letter and be alphanumeric or underscores; no hyphen or '.': `('^[a-zA-Z][\w]\{0,7\}$')`. 131 135 - Usernames are limited to 8 characters.