Rev 6 | Rev 33 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6 | Rev 17 | ||
---|---|---|---|
1 | <!DOCTYPE html> |
1 | <!DOCTYPE html> |
2 | <html lang="en"> |
2 | <html lang="en"> |
3 | <head> |
3 | <head> |
4 | <title>OID repository - Getting an OID description in XML for JSON</title> |
4 | <title>OID repository - Getting an OID description in XML for JSON</title> |
5 | <meta charset="UTF-8"><!-- <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"> --> |
5 | <meta charset="UTF-8"><!-- <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"> --> |
6 | <meta name="google-translate-customization" content="ae799a386ca63905-075d0f84d2caa8b0-g8dbf29cdfe9cdbeb-c"> |
6 | <meta name="google-translate-customization" content="ae799a386ca63905-075d0f84d2caa8b0-g8dbf29cdfe9cdbeb-c"> |
7 | <link rel="Stylesheet" type="text/css" href="style.css"> |
7 | <link rel="Stylesheet" type="text/css" href="style.css"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
9 | <meta name="DESCRIPTION" content="This OID repository gathers information about Object Identifiers (OIDs), and provides tools to display and search for this information."> |
9 | <meta name="DESCRIPTION" content="This OID repository gathers information about Object Identifiers (OIDs), and provides tools to display and search for this information."> |
10 | <meta name="keywords" content="object identifier oid OID repository registration authority ISO ITU"> |
10 | <meta name="keywords" content="object identifier oid OID repository registration authority ISO ITU"> |
11 | <link rel="SHORTCUT ICON" href="/images/favicon.ico"> |
11 | <link rel="SHORTCUT ICON" href="/images/favicon.ico"> |
12 | <script src="scripts.js"></script> |
12 | <script src="scripts.js"></script> |
13 | </head> |
13 | </head> |
14 | <body id="body" onload="_onload()"> |
14 | <body id="body" onload="_onload()"> |
15 | <div id="global_container"> |
15 | <div id="global_container"> |
16 | <div id="header"> |
16 | <div id="header"> |
17 | <a href="index.htm"> |
17 | <a href="index.htm"> |
18 | <img src="images/treewall.jpg" width="130" height="110"> |
18 | <img src="images/treewall.jpg" width="130" height="110"> |
19 | </a> |
19 | </a> |
20 | <h1 id="header_h1">OID Repository</h1><br><br><br><br> |
20 | <h1 id="header_h1">OID Repository</h1><br><br><br><br> |
21 | <div id="header_url_and_menu"> |
21 | <div id="header_url_and_menu"> |
22 | <div id="header_url">www.oid-info.com</div> |
22 | <div id="header_url">www.oid-info.com</div> |
23 | <div id="header_url_right"> |
23 | <div id="header_url_right"> |
24 | <ul id="header_menu"> |
24 | <ul id="header_menu"> |
25 | <li><a href="index.htm">Home</a></li> |
25 | <li><a href="index.htm">Home</a></li> |
26 | <li><a href="/cgi-bin/display?tree=">Tree display</a></li> |
26 | <li><a href="/cgi-bin/display?tree=">Tree display</a></li> |
27 | <li><a href="basic-search.htm">Search</a></li> |
27 | <li><a href="basic-search.htm">Search</a></li> |
28 | <li><a href="faq.htm">FAQ</a></li> |
28 | <li><a href="faq.htm">FAQ</a></li> |
29 | <li><a href="/helper">Helper</a></li> |
29 | <li><a href="/helper">Helper</a></li> |
30 | </ul> |
30 | </ul> |
31 | </div> |
31 | </div> |
32 | </div> |
32 | </div> |
33 | <div style="top: 11px; left: 694px; margin-left:-120px;" id="search"> |
33 | <div style="top: 11px; left: 694px; margin-left:-120px;" id="search"> |
34 | <span style="color: rgb(226, 137, 34); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Display OID:</span> <br> |
34 | <span style="color: rgb(226, 137, 34); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold;">Display OID:</span> <br> |
35 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
35 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
36 | <input type="hidden" name="action" value="display"> |
36 | <input type="hidden" name="action" value="display"> |
37 | <input name="oid" size="20" value="" onfocus="empty();" placeholder="-- OID --" type="text"> <input value="Go" type="submit"> |
37 | <input name="oid" size="20" value="" onfocus="empty();" placeholder="-- OID --" type="text"> <input value="Go" type="submit"> |
38 | </form> |
38 | </form> |
39 | </div> |
39 | </div> |
40 | <div id="google_translate"> |
40 | <div id="google_translate"> |
41 | <script> |
41 | <script> |
42 | function googleTranslateElementInit() { |
42 | function googleTranslateElementInit() { |
43 | new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-33779649-1' }, 'google_translate_element'); |
43 | new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-33779649-1' }, 'google_translate_element'); |
44 | } |
44 | } |
45 | </script> |
45 | </script> |
46 | <!--<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"> |
46 | <!--<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"> |
47 | </script>--> |
47 | </script>--> |
48 | </div> |
48 | </div> |
49 | </div> |
49 | </div> |
50 | </div> |
50 | </div> |
51 | <div id="mobile_version"> |
51 | <div id="mobile_version"> |
52 | <aside class="sidebar"> |
52 | <aside class="sidebar"> |
53 | <nav id="navigation" role="navigation"> |
53 | <nav id="navigation" role="navigation"> |
54 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
54 | <form name="form_go" method="get" action="/cgi-bin/display" enctype="multipart/form-data"> |
55 | <a><input name="oid" id="searchbox_mobile" size="35" value="" onfocus="empty();" placeholder="-- Display OID --" type="search"></a> |
55 | <a><input name="oid" id="searchbox_mobile" size="35" value="" onfocus="empty();" placeholder="-- Display OID --" type="search"></a> |
56 | </form> |
56 | </form> |
57 | <a href="index.htm">Home</a> |
57 | <a href="index.htm">Home</a> |
58 | <a href="/cgi-bin/display?tree=">Tree display</a> |
58 | <a href="/cgi-bin/display?tree=">Tree display</a> |
59 | <a href="basic-search.htm">Search</a> |
59 | <a href="basic-search.htm">Search</a> |
60 | <a href="faq.htm">FAQ</a> |
60 | <a href="faq.htm">FAQ</a> |
61 | <a href="/helper">Chatbot helper</a> |
61 | <a href="/helper">Chatbot helper</a> |
62 | </nav> |
62 | </nav> |
63 | </aside> |
63 | </aside> |
64 | </div> |
64 | </div> |
65 | <div class="wrapper"> |
65 | <div class="wrapper"> |
66 | <table width="100%" id="header_mobile"> |
66 | <table width="100%" id="header_mobile"> |
67 | <tr> |
67 | <tr> |
68 | <td width="20%"> |
68 | <td width="20%"> |
69 | <a href="#body" class="nav-button-open" aria-label="open navigation"></a> |
69 | <a href="#body" class="nav-button-open" aria-label="open navigation"></a> |
70 | <a href="#" class="nav-button-close" aria-label="close navigation"></a> |
70 | <a href="#" class="nav-button-close" aria-label="close navigation"></a> |
71 | </td> |
71 | </td> |
72 | <td width="60%" valign="middle"> |
72 | <td width="60%" valign="middle"> |
73 | <h1 id="header_h1">OID Repository</h1> |
73 | <h1 id="header_h1">OID Repository</h1> |
74 | <div id="header_url">www.oid-info.com</div> |
74 | <div id="header_url">www.oid-info.com</div> |
75 | </td> |
75 | </td> |
76 | <td width="20%"><a href="index.htm"><img src="images/treewall.jpg" style="height:10vh;width:auto"></a></td> |
76 | <td width="20%"><a href="index.htm"><img src="images/treewall.jpg" style="height:10vh;width:auto"></a></td> |
77 | </tr> |
77 | </tr> |
78 | </table> |
78 | </table> |
79 | 79 | ||
80 | <div id="global_content"> |
80 | <div id="global_content"> |
81 | 81 | ||
82 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
82 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
83 | 83 | ||
84 | <tr> |
84 | <tr> |
85 | 85 | ||
86 | <td height="20" colspan="3" valign="top" width="100%"> </td> |
86 | <td height="20" colspan="3" valign="top" width="100%"> </td> |
87 | 87 | ||
88 | </tr> |
88 | </tr> |
89 | 89 | ||
90 | <tr> |
90 | <tr> |
91 | <td height="40" valign="top" width="440"> |
91 | <td height="40" valign="top" width="440"> |
92 | <p> |
92 | <p> |
93 | <span class="page_title">Getting an OID description in XML or JSON format</span> |
93 | <span class="page_title">Getting an OID description in XML or JSON format</span> |
94 | </p> |
94 | </p> |
95 | </td> |
95 | </td> |
96 | <td height="40" valign="top" width="20"> </td> |
96 | <td height="40" valign="top" width="20"> </td> |
97 | <td width="150" height="40" valign="middle"> |
97 | <td width="150" height="40" valign="middle"> |
98 | <img src="images/bullet.gif" width="10" height="8" border="0"><a href="/cgi-bin/manage?a=ca">Request a registrant account</a> |
98 | <img src="images/bullet.gif" width="10" height="8" border="0"><a href="/cgi-bin/manage?a=ca">Request a registrant account</a> |
99 | </td> |
99 | </td> |
100 | </tr> |
100 | </tr> |
101 | 101 | ||
102 | </table> |
102 | </table> |
103 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
103 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
104 | <tr> |
104 | <tr> |
105 | <td width="10"></td> |
105 | <td width="10"></td> |
106 | <td> |
106 | <td> |
107 | 107 | ||
108 | <p> |
108 | <p> |
109 | To get the description of an OID in XML or JSON format, use the following |
109 | To get the description of an OID in XML or JSON format, use the following |
110 | URL (as a <code>GET</code> or <code>POST</code> <a href="http://www.w3schools.com/TAGs/ref_httpmethods.asp">HTTP |
110 | URL (as a <code>GET</code> or <code>POST</code> <a href="http://www.w3schools.com/TAGs/ref_httpmethods.asp">HTTP |
111 | request method</a>): |
111 | request method</a>): |
112 | </p> |
112 | </p> |
113 | <div align="center"> |
113 | <div align="center"> |
114 | <table width="75%" border="1"> |
114 | <table width="75%" border="1"> |
115 | <tr> |
115 | <tr> |
116 | <td align="center"> |
116 | <td align="center"> |
117 | <div align="center"><font class="color_orange">XML</font> </div> |
117 | <div align="center"><font class="color_orange">XML</font> </div> |
118 | </td> |
118 | </td> |
119 | </tr> |
119 | </tr> |
120 | <tr> |
120 | <tr> |
121 | <td> |
121 | <td> |
122 | <div align="center"> |
122 | <div align="center"> |
123 | <code><strong>http://oid-info.com/cgi-bin/display?a=<font class="color_orange">get-xml</font><br>&l=</strong><em>your_email_address</em><strong>&p=</strong><em>your_password</em><br><strong>&oid=</strong><em>OID_in_whichever_notation</em></code> |
123 | <code><strong>https://oid-rep.orange-labs.fr/cgi-bin/display?a=<font class="color_orange">get-xml</font><br>&l=</strong><em>your_email_address</em><strong>&p=</strong><em>your_password</em><br><strong>&oid=</strong><em>OID_in_whichever_notation</em></code> |
124 | </div> |
124 | </div> |
125 | </td> |
125 | </td> |
126 | </tr> |
126 | </tr> |
127 | <tr> |
127 | <tr> |
128 | <td align="center"> |
128 | <td align="center"> |
129 | <div align="center"><font class="color_orange">JSON</font> </div> |
129 | <div align="center"><font class="color_orange">JSON</font> </div> |
130 | </td> |
130 | </td> |
131 | </tr> |
131 | </tr> |
132 | <tr> |
132 | <tr> |
133 | <td> |
133 | <td> |
134 | <div align="center"> |
134 | <div align="center"> |
135 | <code><strong>http://oid-info.com/cgi-bin/display?a=<font class="color_orange">get-json</font><br>&l=</strong><em>your_email_address</em><strong>&p=</strong><em>your_password</em><br><strong>&oid=</strong><em>OID_in_whichever_notation</em></code> |
135 | <code><strong>https://oid-rep.orange-labs.fr/cgi-bin/display?a=<font class="color_orange">get-json</font><br>&l=</strong><em>your_email_address</em><strong>&p=</strong><em>your_password</em><br><strong>&oid=</strong><em>OID_in_whichever_notation</em></code> |
136 | </div> |
136 | </div> |
137 | </td> |
137 | </td> |
138 | </tr> |
138 | </tr> |
139 | </table><br></div> |
139 | </table><br></div> |
140 | <p> |
140 | <p> |
141 | <b>Important note</b>: This feature is only available if a <a href="registrant-account-charter.htm">registrant |
141 | <b>Important note</b>: This feature is only available if a <a href="registrant-account-charter.htm">registrant |
142 | account</a> has been assigned to you by the webmaster. |
142 | account</a> has been assigned to you by the webmaster. |
143 | </p> |
143 | </p> |
144 | <p> |
144 | <p> |
145 | When using this feature, you agree to conform to the <a href="disclaimer.htm">terms |
145 | When using this feature, you agree to conform to the <a href="disclaimer.htm">terms |
146 | of use</a> of this web site. In particular, you understand that downloading, |
146 | of use</a> of this web site. In particular, you understand that downloading, |
147 | printing or copying from this web site must be for noncommercial use |
147 | printing or copying from this web site must be for noncommercial use |
148 | only, and must be limited to a small part of the data. Moreover, you |
148 | only, and must be limited to a small part of the data. Moreover, you |
149 | endeavour to inform users of your application that data are coming from |
149 | endeavour to inform users of your application that data are coming from |
150 | <a href="http://oid-info.com">OID-info.com</a> by hyperlinking to <a href="http://oid-info.com">http://oid-info.com</a>. |
150 | <a href="http://oid-info.com">OID-info.com</a> by adding a hyperlink to <a href="http://oid-info.com">http://oid-info.com</a> |
- | 151 | or <a href="https://oid-rep.orange-labs.fr">https://oid-rep.orange-labs.fr</a>. |
|
151 | </p> |
152 | </p> |
152 | </td> |
153 | </td> |
153 | </tr> |
154 | </tr> |
154 | </table> |
155 | </table> |
155 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
156 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
156 | <tr> |
157 | <tr> |
157 | <td width="10"></td> |
158 | <td width="10"></td> |
158 | <td> |
159 | <td> |
159 | <p> |
160 | <p> |
160 | If there is no error, the returned result is a piece of XML (resp. |
161 | If there is no error, the returned result is a piece of XML (resp. |
161 | JSON) which looks like the following examples. |
162 | JSON) which looks like the following examples. |
162 | </p> |
163 | </p> |
163 | <p> |
164 | <p> |
164 | The generated XML mostly conforms to the <a href="http://oid-info.com/oid.xsd">XML |
165 | The generated XML mostly conforms to the <a href="http://oid-info.com/oid.xsd">XML |
165 | Schema for the OID repository</a>. One difference is that the <code><strong><value></strong></code> |
166 | Schema for the OID repository</a>. One difference is that the <code><strong><value></strong></code> |
166 | tag is separated in three tags: <code><strong><asn1-notation></strong></code>, |
167 | tag is separated in three tags: <code><strong><asn1-notation></strong></code>, |
167 | <code><strong><dot-notation></strong></code> and <code><strong><iri-notation></strong></code>. |
168 | <code><strong><dot-notation></strong></code> and <code><strong><iri-notation></strong></code>. |
168 | Another main difference is that the <code><strong><oid></strong></code> |
169 | Another main difference is that the <code><strong><oid></strong></code> |
169 | tag can have two optional attributes: |
170 | tag can have two optional attributes: |
170 | </p> |
171 | </p> |
171 | <ul> |
172 | <ul> |
172 | <li> |
173 | <li> |
173 | <code><strong>category</strong></code> which, when present, takes |
174 | <code><strong>category</strong></code> which, when present, takes |
174 | one or multiple ("<code>;</code>"-separated) values among "<a href="faq.htm#26"><code>Leaf |
175 | one or multiple ("<code>;</code>"-separated) values among "<a href="faq.htm#26"><code>Leaf |
175 | OID</code></a>", "<a href="faq.htm#26"><code>Frozen OID</code></a>", |
176 | OID</code></a>", "<a href="faq.htm#26"><code>Frozen OID</code></a>", |
176 | "<code>Not allocating identifiers</code>" and "<code>Not |
177 | "<code>Not allocating identifiers</code>" and "<code>Not |
177 | allocating Unicode labels</code>"; |
178 | allocating Unicode labels</code>"; |
178 | </li> |
179 | </li> |
179 | <li> |
180 | <li> |
180 | <code><strong>standardized</strong></code> which, when present, |
181 | <code><strong>standardized</strong></code> which, when present, |
181 | takes value "<code>true</code>" and indicates that the last <a href="name-forms.htm">identifier</a> |
182 | takes value "<code>true</code>" and indicates that the last <a href="name-forms.htm">identifier</a> |
182 | in the <strong><code><value></code></strong> can be used alone |
183 | in the <strong><code><value></code></strong> can be used alone |
183 | without its associated number; |
184 | without its associated number; |
184 | </li> |
185 | </li> |
185 | <li> |
186 | <li> |
186 | <code>last-modification</code> is the date (YYYY-MM-DD) when the |
187 | <code>last-modification</code> is the date (YYYY-MM-DD) when the |
187 | OID description was last modified in the OID repository. |
188 | OID description was last modified in the OID repository. |
188 | </li> |
189 | </li> |
189 | </ul> |
190 | </ul> |
190 | <p> |
191 | <p> |
191 | In JSON, keys <code>"category"</code>, <code>"identifier"</code>, |
192 | In JSON, keys <code>"category"</code>, <code>"identifier"</code>, |
192 | <code>"unicode-label"</code>, <code>"long-arc"</code> |
193 | <code>"unicode-label"</code>, <code>"long-arc"</code> |
193 | are tables (hence between square brackets). |
194 | are tables (hence between square brackets). |
194 | </p> |
195 | </p> |
195 | <table width="100%" border="1"> |
196 | <table width="100%" border="1"> |
196 | <tr> |
197 | <tr> |
197 | <td align="center"> |
198 | <td align="center"> |
198 | <font class="color_orange">XML</font> |
199 | <font class="color_orange">XML</font> |
199 | </td> |
200 | </td> |
200 | </tr> |
201 | </tr> |
201 | <tr> |
202 | <tr> |
202 | <td> |
203 | <td> |
203 | <p> |
204 | <p> |
204 | <code><strong><oid category="</strong>Leaf OID"<strong>><br> <asn1_notation></strong>{joint-iso-itu-t(2) |
205 | <code><strong><oid category="</strong>Leaf OID"<strong>><br> <asn1_notation></strong>{joint-iso-itu-t(2) |
205 | example(999) xml-submission(777)}<strong></asn1_notation><br> <dot-notation></strong>2.999.777<strong></dot-notation><br> <iri-notation></strong>/Joint-ISO-ITU-T/Example/XML_submission<strong></iri-notation><br> <identifier></strong>xml-submission<strong></identifier><br> </strong><strong><identifier></strong>xml-document<strong></identifier><br> <unicode-label></strong>XML_submission<strong></unicode-label><br> <description></strong>Example of a description |
206 | example(999) xml-submission(777)}<strong></asn1_notation><br> <dot-notation></strong>2.999.777<strong></dot-notation><br> <iri-notation></strong>/Joint-ISO-ITU-T/Example/XML_submission<strong></iri-notation><br> <identifier></strong>xml-submission<strong></identifier><br> </strong><strong><identifier></strong>xml-document<strong></identifier><br> <unicode-label></strong>XML_submission<strong></unicode-label><br> <description></strong>Example of a description |
206 | conforming to the <a href="http://oid-info.com/oid.xsd">XML |
207 | conforming to the <a href="http://oid-info.com/oid.xsd">XML |
207 | Schema of the OID repository</a>.<strong></description><br> <information></strong>More information can be |
208 | Schema of the OID repository</a>.<strong></description><br> <information></strong>More information can be |
208 | found at <a href="http://oid-info.com/submit.htm">Submit |
209 | found at <a href="http://oid-info.com/submit.htm">Submit |
209 | OID descriptions as XML files</a>.<strong></information><br> <current-registrant><br> </strong><strong><first-name></strong>John<strong></first-name><br> <last-name></strong>Doe<strong></last-name><br> <email></strong>john.doe@dummy.com<strong></email><br> <modification-date></strong>2002-05-25<strong></modification-date><br> </current-registrant><br> <first-registrant privacy="</strong>true<strong>"><br> <first-name></strong>Paul<strong></first-name><br> <last-name></strong>Connor<strong></last-name><br> <email></strong>paul.connor@myhost.com<strong></email><br> <creation-date></strong>1999-12-31<strong></creation-date><br> </first-registrant><br> <last-modification></strong>2017-05-23<strong></last-modification><br></oid></strong></code> |
210 | OID descriptions as XML files</a>.<strong></information><br> <current-registrant><br> </strong><strong><first-name></strong>John<strong></first-name><br> <last-name></strong>Doe<strong></last-name><br> <email></strong>john.doe@dummy.com<strong></email><br> <modification-date></strong>2002-05-25<strong></modification-date><br> </current-registrant><br> <first-registrant privacy="</strong>true<strong>"><br> <first-name></strong>Paul<strong></first-name><br> <last-name></strong>Connor<strong></last-name><br> <email></strong>paul.connor@myhost.com<strong></email><br> <creation-date></strong>1999-12-31<strong></creation-date><br> </first-registrant><br> <last-modification></strong>2017-05-23<strong></last-modification><br></oid></strong></code> |
210 | </p> |
211 | </p> |
211 | </td> |
212 | </td> |
212 | </tr> |
213 | </tr> |
213 | <tr> |
214 | <tr> |
214 | <td align="center"> |
215 | <td align="center"> |
215 | <font class="color_orange">JSON</font> |
216 | <font class="color_orange">JSON</font> |
216 | </td> |
217 | </td> |
217 | </tr> |
218 | </tr> |
218 | <tr> |
219 | <tr> |
219 | <tr> |
220 | <tr> |
220 | <td> |
221 | <td> |
221 | <p> |
222 | <p> |
222 | <code><strong>{ "oid": {<br> "category": [</strong>"Leaf |
223 | <code><strong>{ "oid": {<br> "category": [</strong>"Leaf |
223 | OID"<strong>]</strong>,<br><strong> "asn1-notation"</strong>: |
224 | OID"<strong>]</strong>,<br><strong> "asn1-notation"</strong>: |
224 | "{joint-iso-itu-t(2) example(999) xml-submission(777)}<strong>",<br> "dot-notation"</strong>: "2.999.777<strong>",<br> "iri-notation"</strong>: "/Joint-ISO-ITU-T/Example/XML_submission<strong>",<br></strong><strong> "identifier": |
225 | "{joint-iso-itu-t(2) example(999) xml-submission(777)}<strong>",<br> "dot-notation"</strong>: "2.999.777<strong>",<br> "iri-notation"</strong>: "/Joint-ISO-ITU-T/Example/XML_submission<strong>",<br></strong><strong> "identifier": |
225 | [</strong>"xml-submission", "xml-document"<strong>]</strong>,<br><strong> "unicode-label": [</strong>"XML_submission"<strong>]</strong>,<br><strong> </strong></code><strong><code><strong> </strong>"description":</code></strong><code>"Example of a description conforming to the <a href=\"http://oid-info.com/oid.xsd\">XML |
226 | [</strong>"xml-submission", "xml-document"<strong>]</strong>,<br><strong> "unicode-label": [</strong>"XML_submission"<strong>]</strong>,<br><strong> </strong></code><strong><code><strong> </strong>"description":</code></strong><code>"Example of a description conforming to the <a href=\"http://oid-info.com/oid.xsd\">XML |
226 | Schema of the OID repository</a>.<strong>",<br> "information":</strong> "More |
227 | Schema of the OID repository</a>.<strong>",<br> "information":</strong> "More |
227 | information can be found at <a href=\"http://oid-info.com/submit.htm\">Submit |
228 | information can be found at <a href=\"http://oid-info.com/submit.htm\">Submit |
228 | OID descriptions as XML files</a>."<strong>,<br> "current-registrant": {<br> </strong></code><strong><code>"first-name":</code></strong><code>"John<strong>",<br> "last-name":</strong> |
229 | OID descriptions as XML files</a>."<strong>,<br> "current-registrant": {<br> </strong></code><strong><code>"first-name":</code></strong><code>"John<strong>",<br> "last-name":</strong> |
229 | "Doe"<strong>,<br> "email":</strong> "john.doe@dummy.com"<strong>,<br> "modification-date":</strong> |
230 | "Doe"<strong>,<br> "email":</strong> "john.doe@dummy.com"<strong>,<br> "modification-date":</strong> |
230 | "2002-05-25"<br><strong> }, <br> "first-registrant": {<br> "privacy":</strong> "true"<strong>,<br> "first-name":</strong> |
231 | "2002-05-25"<br><strong> }, <br> "first-registrant": {<br> "privacy":</strong> "true"<strong>,<br> "first-name":</strong> |
231 | "Paul"<strong>,<br> "last-name":</strong> |
232 | "Paul"<strong>,<br> "last-name":</strong> |
232 | "Connor<strong>",<br> "email": "</strong>paul.connor@myhost.com<strong>",<br> "creation-date": "</strong>1999-12-31"<strong><br> },<br> "last-modification":</strong> "2017-05-23"<br> }<br>}</code> |
233 | "Connor<strong>",<br> "email": "</strong>paul.connor@myhost.com<strong>",<br> "creation-date": "</strong>1999-12-31"<strong><br> },<br> "last-modification":</strong> "2017-05-23"<br> }<br>}</code> |
233 | </p> |
234 | </p> |
234 | </td> |
235 | </td> |
235 | </tr> |
236 | </tr> |
236 | </table> |
237 | </table> |
237 | </td> |
238 | </td> |
238 | </tr> |
239 | </tr> |
239 | </table> |
240 | </table> |
240 | 241 | ||
241 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
242 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
242 | <tr> |
243 | <tr> |
243 | <td width="10"></td> |
244 | <td width="10"></td> |
244 | <td> |
245 | <td> |
245 | Errors are rendered as follows:<br><br><table width="100%" border="1"> |
246 | Errors are rendered as follows:<br><br><table width="100%" border="1"> |
246 | <tr> |
247 | <tr> |
247 | <td align="center"> <font class="color_orange">XML</font> </td> |
248 | <td align="center"> <font class="color_orange">XML</font> </td> |
248 | </tr> |
249 | </tr> |
249 | <tr> |
250 | <tr> |
250 | <td> |
251 | <td> |
251 | <code><strong><error code="</strong><em>error_code</em><strong>"></strong><br> Error message in English<br><strong></error></strong></code> |
252 | <code><strong><error code="</strong><em>error_code</em><strong>"></strong><br> Error message in English<br><strong></error></strong></code> |
252 | </td> |
253 | </td> |
253 | </tr> |
254 | </tr> |
254 | <tr> |
255 | <tr> |
255 | <td align="center"> <font class="color_orange">JSON</font> </td> |
256 | <td align="center"> <font class="color_orange">JSON</font> </td> |
256 | </tr> |
257 | </tr> |
257 | <tr> |
258 | <tr> |
258 | <td> |
259 | <td> |
259 | <code><strong>{ "error": {<br> "code":</strong> "<em>error_code</em><strong>",<br> "message":</strong> "Error message |
260 | <code><strong>{ "error": {<br> "code":</strong> "<em>error_code</em><strong>",<br> "message":</strong> "Error message |
260 | in English"<br> <strong>}<br>}</strong></code> |
261 | in English"<br> <strong>}<br>}</strong></code> |
261 | </td> |
262 | </td> |
262 | </tr> |
263 | </tr> |
263 | </table> |
264 | </table> |
264 | <br>where <code><em>error_code</em></code> is one of: |
265 | <br>where <code><em>error_code</em></code> is one of: |
265 | <ul> |
266 | <ul> |
266 | <li> |
267 | <li> |
267 | "<code>illegal_oid</code>" when the OID given in parameter |
268 | "<code>illegal_oid</code>" when the OID given in parameter |
268 | <strong><code>oid</code></strong> cannot exist because, e.g., it is |
269 | <strong><code>oid</code></strong> cannot exist because, e.g., it is |
269 | known to be forbidden or one of its ascendant OIDs is a leaf (the |
270 | known to be forbidden or one of its ascendant OIDs is a leaf (the |
270 | "<code>Error message in English</code>" explains what the |
271 | "<code>Error message in English</code>" explains what the |
271 | problem is); |
272 | problem is); |
272 | </li> |
273 | </li> |
273 | <li> |
274 | <li> |
274 | "<code>maintenance</code>" when the OID repository is |
275 | "<code>maintenance</code>" when the OID repository is |
275 | not available because it is under maintenance; |
276 | not available because it is under maintenance; |
276 | </li> |
277 | </li> |
277 | <li> |
278 | <li> |
278 | "<code>oid_not_validated</code>" when the OID given in |
279 | "<code>oid_not_validated</code>" when the OID given in |
279 | parameter <strong><code>oid</code></strong> is described in the OID |
280 | parameter <strong><code>oid</code></strong> is described in the OID |
280 | repository but has not yet been validated by the OID administrator, |
281 | repository but has not yet been validated by the OID administrator, |
281 | so its description is not yet publicly available; |
282 | so its description is not yet publicly available; |
282 | </li> |
283 | </li> |
283 | <li> |
284 | <li> |
284 | "<code>runtime_error</code>" when there is an internal |
285 | "<code>runtime_error</code>" when there is an internal |
285 | problem (in which case the OID repository admin is automatically notified |
286 | problem (in which case the OID repository admin is automatically notified |
286 | by email); |
287 | by email); |
287 | </li> |
288 | </li> |
288 | <li> |
289 | <li> |
289 | "<code>syntax_error</code>" when the OID given in parameter |
290 | "<code>syntax_error</code>" when the OID given in parameter |
290 | <strong><code>oid</code></strong> is not syntactiacally correct (the |
291 | <strong><code>oid</code></strong> is not syntactiacally correct (the |
291 | "<code>Error message in English</code>" explains what the |
292 | "<code>Error message in English</code>" explains what the |
292 | problem is); |
293 | problem is); |
293 | </li> |
294 | </li> |
294 | <li> |
295 | <li> |
295 | "<code>unknown_oid</code>" when the OID given in parameter |
296 | "<code>unknown_oid</code>" when the OID given in parameter |
296 | <strong><code>oid</code></strong> is not described in the OID repository |
297 | <strong><code>oid</code></strong> is not described in the OID repository |
297 | (or this parameter is missing); |
298 | (or this parameter is missing); |
298 | </li> |
299 | </li> |
299 | <li> |
300 | <li> |
300 | "<code>wrong_login</code>" when parameters <strong><code>login</code></strong> |
301 | "<code>wrong_login</code>" when parameters <strong><code>login</code></strong> |
301 | or <strong><code>password</code></strong> are not correct (the "<code>Error |
302 | or <strong><code>password</code></strong> are not correct (the "<code>Error |
302 | message in English</code>" explains what the problem is). |
303 | message in English</code>" explains what the problem is). |
303 | </li> |
304 | </li> |
304 | </ul> |
305 | </ul> |
305 | Note that the <code><em>error_code</em></code> won't change whereas the |
306 | Note that the <code><em>error_code</em></code> won't change whereas the |
306 | "<code>Error message in English</code>" may evolve, so it is |
307 | "<code>Error message in English</code>" may evolve, so it is |
307 | recommended that, if needed, your application checks the <code><em>error_code</em></code>. |
308 | recommended that, if needed, your application checks the <code><em>error_code</em></code>. |
308 | </td> |
309 | </td> |
309 | </tr> |
310 | </tr> |
310 | </table> |
311 | </table> |
311 | 312 | ||
312 | </div> |
313 | </div> |
313 | 314 | ||
314 | 315 | ||
315 | <center id="footer"> |
316 | <center id="footer"> |
316 | <img style="border: 0px solid ; width: 760px; height: 2px;" alt="separation line" src="images/separation800.png" width="760" height="2"><br><br> |
317 | <img style="border: 0px solid ; width: 760px; height: 2px;" alt="separation line" src="images/separation800.png" width="760" height="2"><br><br> |
317 | <table width="710" cellspacing="0" cellpadding="0" border="0"> |
318 | <table width="710" cellspacing="0" cellpadding="0" border="0"> |
318 | <tr valign="baseline"> |
319 | <tr valign="baseline"> |
319 | <td width="34"> |
320 | <td width="34"> |
320 | <a href="/helper"> |
321 | <a href="/helper"> |
321 | <img src="images/enveloppe.png" width="30" height="13" name="mail" border="0" alt="OID helper"> |
322 | <img src="images/enveloppe.png" width="30" height="13" name="mail" border="0" alt="OID helper"> |
322 | </a> |
323 | </a> |
323 | </td> |
324 | </td> |
324 | <td width="58" align="center"><font size="-2">Webmaster</font></td> |
325 | <td width="58" align="center"><font size="-2">Webmaster</font></td> |
325 | <td width="10" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
326 | <td width="10" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
326 | <td width="78" align="center"> |
327 | <td width="78" align="center"> |
327 | <font size="-2"> |
328 | <font size="-2"> |
328 | <!--<script language="JavaScript"> |
329 | <!--<script language="JavaScript"> |
329 | d=new Date(document.lastModified) |
330 | d=new Date(document.lastModified) |
330 | month=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") |
331 | month=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") |
331 | if (Date.parse(document.lastModified) != 0) |
332 | if (Date.parse(document.lastModified) != 0) |
332 | document.write(d.getDate()+" "+month[d.getMonth()]+" "+d.getFullYear()); |
333 | document.write(d.getDate()+" "+month[d.getMonth()]+" "+d.getFullYear()); |
333 | </script>--> |
334 | </script>--> |
334 | 15 Apr 2022 |
335 | 27 Nov 2022 |
335 | </font> |
336 | </font> |
336 | </td> |
337 | </td> |
337 | <td width="24" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
338 | <td width="24" align="center"><img src="images/pointorange_small.gif" width="14" height="10"></td> |
338 | <td align="center" width="409"> |
339 | <td align="center" width="409"> |
339 | <font size=-1> |
340 | <font size=-1> |
340 | |
341 | |
341 | </font> |
342 | </font> |
342 | </td> |
343 | </td> |
343 | <td height="20" width="162" valign="middle" align="right"><a href="#top"><img src="images/page_top.png" width="150" height="17" border="0"></a></td> |
344 | <td height="20" width="162" valign="middle" align="right"><a href="#top"><img src="images/page_top.png" width="150" height="17" border="0"></a></td> |
344 | </tr> |
345 | </tr> |
345 | </table><br> |
346 | </table><br> |
346 | </center> |
347 | </center> |
347 | </div> |
348 | </div> |
348 | </body> |
349 | </body> |
349 | </html> |
350 | </html> |
350 | 351 |