Project era inventory api: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "== Project ERA inventory API == This page describes interaction with the API. === Signed URLs === Some resources get signed with an HMAC for additional security, for example,...")
 
No edit summary
Line 2: Line 2:
This page describes interaction with the API.
This page describes interaction with the API.


=== Signed URLs ===
=== Configuration ===
Some resources get signed with an HMAC for additional security, for example, when checking player information it will look something like this:
Main source for API traversal, lists the resources available to the current (authenticated) user.
/api/<HMAC KEY>/players/:uuid
 
=== Buildings ===
used to view and interact with buildings
 
=== Characters ===
Used to view and manage characters


=== Authentication ===
=== Items ===
Used to authenticate players.
Used to view and manage items.
POST /api/authenticate_session
;Accepts:
: application/vnd.projectera.auth_session.v1+json
;Returns:
: Redirection to player info


=== Players ===
=== Players ===
Used to retrieve player information
Used to retrieve player information


=== Characters ===
=== Addition Information ===
Used to manage characters.
Some additional information regarding the API
 
==== Signed URLs ====
Some resources get signed with an HMAC for additional security, for example, when checking player information it will look something like this:
/api/<HMAC KEY>/players/:uuid


=== Items ===
==== Steam Authentication ====
Used to manage items.
Used to authenticate steam users and redirect to respective player info.
58

edits

Navigation menu