<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Endpoints &#x2F; Auth Token &#x2F; parameters]]></title><description><![CDATA[<p>Re: <a href="/forum/topic/2052/auth-tokens">Auth Tokens</a></p>
<p>Hi guys,
trying to play with api endpoints, but do not understand this:
curl -H &quot;X-Auth-Token: <AA-BB-CC-DD-EE>&quot; <a href="https://screeps.com/api/user/code?_token=AA-BB-CC-DD-EE" rel="nofollow">https://screeps.com/api/user/code?_token=AA-BB-CC-DD-EE</a>
** works fine **</p>
<p>curl -H &quot;X-Auth-Token: <AA-BB-CC-DD-EE>&quot; <a href="https://screeps.com/api/user/memory?_token=AA-BB-CC-DD-EE&amp;shard=shard3" rel="nofollow">https://screeps.com/api/user/memory?_token=AA-BB-CC-DD-EE&amp;shard=shard3</a> results in {&quot;error&quot;:&quot;invalid shard&quot;}</p>
<p>some other endpoints do work (money-history), most others do not.
Any hint what I am doing wrong ?
Is there a valid documentation of the endpoint parameters ?</p>
]]></description><link>http://screeps.com/forum/topic/3166/endpoints-auth-token-parameters</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 21:27:16 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/3166.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Apr 2021 12:21:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Mon, 12 Apr 2021 18:16:58 GMT]]></title><description><![CDATA[<p>Re: <a href="/forum/topic/2052/auth-tokens">Auth Tokens</a></p>
<p>Hi guys,
trying to play with api endpoints, but do not understand this:
curl -H &quot;X-Auth-Token: <AA-BB-CC-DD-EE>&quot; <a href="https://screeps.com/api/user/code?_token=AA-BB-CC-DD-EE" rel="nofollow">https://screeps.com/api/user/code?_token=AA-BB-CC-DD-EE</a>
** works fine **</p>
<p>curl -H &quot;X-Auth-Token: <AA-BB-CC-DD-EE>&quot; <a href="https://screeps.com/api/user/memory?_token=AA-BB-CC-DD-EE&amp;shard=shard3" rel="nofollow">https://screeps.com/api/user/memory?_token=AA-BB-CC-DD-EE&amp;shard=shard3</a> results in {&quot;error&quot;:&quot;invalid shard&quot;}</p>
<p>some other endpoints do work (money-history), most others do not.
Any hint what I am doing wrong ?
Is there a valid documentation of the endpoint parameters ?</p>
]]></description><link>http://screeps.com/forum/post/16342</link><guid isPermaLink="true">http://screeps.com/forum/post/16342</guid><dc:creator><![CDATA[dogo41]]></dc:creator><pubDate>Mon, 12 Apr 2021 18:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Invalid Date]]></title><description><![CDATA[<p>Haven't played with the web api much, would recommend if you don't get an answer here in a bit trying out the Slack.</p>
]]></description><link>http://screeps.com/forum/post/16343</link><guid isPermaLink="true">http://screeps.com/forum/post/16343</guid><dc:creator><![CDATA[Donatzor]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/1043">@donatzor</a> thanks ! actually, I am trying hard since quite a while, and I assume that the api somehow went dysfunctional. All libraries and tools and most of the posts are some 3 years old. I think, I did read most of the infos google can find, and I have to go back to the game source to find more info. But I am even not sure that <a href="http://github.com/screeps" rel="nofollow">github.com/screeps</a> holds the current source version, did not find the api source there up to now. It's a pity, since I really started to like this game, but it seems to got stuck some yrs ago.</p>
]]></description><link>http://screeps.com/forum/post/16344</link><guid isPermaLink="true">http://screeps.com/forum/post/16344</guid><dc:creator><![CDATA[dogo41]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Invalid Date]]></title><description><![CDATA[<p>There is some differences between the official server and the private server.</p>
<p>This mod is basicly default on most servers and bridges the gap between official servers and private servers
<a href="https://github.com/ScreepsMods/screepsmod-admin-utils" rel="nofollow">https://github.com/ScreepsMods/screepsmod-admin-utils</a></p>
<p>node-screeps-api is fairly up to date. as an example here are the memory endpoints<br />
<a href="https://github.com/screepers/node-screeps-api/blob/01712e09ebff7dfc3e51c333142d5da7ad63918a/src/RawAPI.js#L723-L764" rel="nofollow">https://github.com/screepers/node-screeps-api/blob/01712e09ebff7dfc3e51c333142d5da7ad63918a/src/RawAPI.js#L723-L764</a></p>
<p>else I would suggest dropping by on slack <a href="https://chat.screeps.com/" rel="nofollow">https://chat.screeps.com/</a> lots of people there able to help <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>http://screeps.com/forum/post/16347</link><guid isPermaLink="true">http://screeps.com/forum/post/16347</guid><dc:creator><![CDATA[thmsn]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Invalid Date]]></title><description><![CDATA[<p>The command <code>curl &quot;https://screeps.com/api/user/memory?_token=***&amp;shard=shard3&quot;</code> works perfectly fine for me.  The issue is likely that you don't have quotes around the URL.  This would cause the &amp; to break it into two separate commands.</p>
]]></description><link>http://screeps.com/forum/post/16348</link><guid isPermaLink="true">http://screeps.com/forum/post/16348</guid><dc:creator><![CDATA[SegmentationFaultCoreDumped]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Endpoints &#x2F; Auth Token &#x2F; parameters on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/4353">@segmentationfaultcoredumped</a> Hey man ! you see me deeply ashamed ... after some 2 decades of unix ... a problem like that !
Thanks a lot, I owe u a beer <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--wink"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>http://screeps.com/forum/post/16349</link><guid isPermaLink="true">http://screeps.com/forum/post/16349</guid><dc:creator><![CDATA[dogo41]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>