{"id":11,"date":"2019-07-31T13:22:33","date_gmt":"2019-07-31T11:22:33","guid":{"rendered":"http:\/\/wiki.hogs.live\/?page_id=11"},"modified":"2025-06-10T09:30:48","modified_gmt":"2025-06-10T07:30:48","slug":"autoryzacja-2","status":"publish","type":"page","link":"https:\/\/wiki.hogs.live\/en\/autoryzacja-2\/","title":{"rendered":"Authorisation"},"content":{"rendered":"<p><strong>Environment data<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Protocol<\/td><td>https<\/td><\/tr><tr><td>Domain<\/td><td>api.hogs.live\/api\/ <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Additional headers:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td> authorization<\/td><td>Bearer {token}<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p> <\/p>\n\n\n\n<p>The request to obtain a token should be called to the following address: <br><code>https:\/\/api.hogs.live\/api\/auth\/login<\/code><br> by providing following parameters using POST method:  <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Parameter<\/strong><\/td><td><strong>Kind<\/strong><\/td><td><strong>Comments<\/strong><\/td><\/tr><tr><td>login<\/td><td>string<\/td><td>Hogs REST API access login<\/td><\/tr><tr><td>licenseKey<\/td><td>string<\/td><td>klucz licencyjny<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Dane \u015brodowiska: Protok\u00f3\u0142 https Domena api.hogs.live\/api\/ Dodatkowe nag\u0142\u00f3wki: authorization Bearer {token} Zapytanie w celu uzyskania tokena nale\u017cy wywo\u0142a\u0107 pod adres: https:\/\/api.hogs.live\/api\/auth\/login podaj\u0105c nast\u0119puj\u0105ce parametry metod\u0105 POST: Paramter Rodzaj Uwagi login string login dost\u0119powy do REST API Hogs licenseKey string klucz ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.hogs.live\/en\/autoryzacja-2\/\" title=\"read more...\">Read more<\/a><\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"full-width-template.php","meta":[],"_links":{"self":[{"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/pages\/11"}],"collection":[{"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":15,"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":220,"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/pages\/11\/revisions\/220"}],"wp:attachment":[{"href":"https:\/\/wiki.hogs.live\/en\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}