Project era inventory api: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(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.

Revision as of 06:40, 16 July 2020

Project ERA inventory API

This page describes interaction with the API.

Configuration

Main source for API traversal, lists the resources available to the current (authenticated) user.

Buildings

used to view and interact with buildings

Characters

Used to view and manage characters

Items

Used to view and manage items.

Players

Used to retrieve player information

Addition Information

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

Steam Authentication

Used to authenticate steam users and redirect to respective player info.