{"id":86,"date":"2020-11-17T14:29:21","date_gmt":"2020-11-17T13:29:21","guid":{"rendered":"https:\/\/mxrdr-info.ocean.icm.edu.pl\/?page_id=86"},"modified":"2021-10-29T16:00:07","modified_gmt":"2021-10-29T14:00:07","slug":"api","status":"publish","type":"page","link":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/api\/","title":{"rendered":"API Token"},"content":{"rendered":"\n<p>To use the API properly you will need the API Token. API Token is a form of identifying the user through API. To get the API Token you will need to log into your account and go <a href=\"https:\/\/mxrdr.icm.edu.pl\/dataverseuser.xhtml?selectTab=apiTokenTab\">here<\/a>. And click <em>Recreate Token<\/em> and the string of the form: <em>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx<\/em> is your API Token. Afterwards you can use it in terminal commands directly or <a href=\"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/data-uploading\/#API-key-text-file\" data-type=\"page\">via a file<\/a>, more about this <a href=\"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/data-uploading\/\" data-type=\"page\">here<\/a>.<\/p>\n\n\n\n<p>To use API you will need the knowledge of the json file composition and <a href=\"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/metadata\/\" data-type=\"page\" data-id=\"71\">names of metadata fields<\/a>. Afterwards you can learn the basics of the <a href=\"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/data-uploading\/\" data-type=\"page\">API usage<\/a>.<\/p>\n\n\n\n<p>Images below show how to get from the main page to the API Token page and how to create or recreate the API Token.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mxrdr-info.ocean.icm.edu.pl\/wp-content\/uploads\/2020\/12\/1-1024x303.png\" alt=\"\" class=\"wp-image-171\" width=\"1024\" height=\"303\" srcset=\"https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/1-1024x303.png 1024w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/1-300x89.png 300w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/1-768x227.png 768w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/1.png 1268w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mxrdr-info.ocean.icm.edu.pl\/wp-content\/uploads\/2020\/12\/2-1024x379.png\" alt=\"\" class=\"wp-image-172\" width=\"1024\" height=\"379\" srcset=\"https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/2-1024x379.png 1024w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/2-300x111.png 300w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/2-768x284.png 768w, https:\/\/info.mxrdr.icm.edu.pl\/wp-content\/uploads\/2020\/12\/2.png 1219w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To use the API properly you will need the API Token. API Token is a form of identifying the user through API. To get the API Token you will need to log into your account and go here. And click Recreate Token and the string of the form: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is your API Token. Afterwards you &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/api\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;API Token&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/pages\/86"}],"collection":[{"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":20,"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/pages\/86\/revisions"}],"predecessor-version":[{"id":610,"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/pages\/86\/revisions\/610"}],"wp:attachment":[{"href":"https:\/\/info.mxrdr.icm.edu.pl\/index.php\/wp-json\/wp\/v2\/media?parent=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}