hgeorgsch / armchar-swish

ArM character server implementation using Haskell and Swish
GNU General Public License v3.0
0 stars 1 forks source link

GET response to show Saga #105

Closed hgeorgsch closed 2 years ago

hgeorgsch commented 2 years ago

This requires

  1. parsing of the saga resource from RDF
  2. ToJSON instance for the saga
  3. HTTP GET declaration
hgeorgsch commented 2 years ago

ToJSON should be based on KeyPairList directly from RDF. We need to figure out how to represent the cast in the JSON output.

hgeorgsch commented 2 years ago

Saga GET call implemented. Need to add fields for the cast.

hgeorgsch commented 2 years ago

We need to list

  1. Covenant
  2. Cast

The current data model should not be used to define the covenant view, because a fullfledged covenant record must be developed.

For each character we need,

  1. URI
  2. Name
  3. Class (magus/companion/grog)
  4. Player
hgeorgsch commented 2 years ago

This should be handled by adding Character objects to the saga, and serialise them as part of the JSON output

hgeorgsch commented 2 years ago

separate cast API covenant is separate, to be handled later.