Before I bang my head to the development wall in the appropriate rhythm I would ask:
Currently I have normal REST API working.
Let's say it is Monster Island Jungle Daily.json.
Via it I can call different json file and generate random entry using gen:Monster Island Standard Encounter#JungleEncounterDay
That in succession calls gen:Monster Island Standard Encounter#Lost Explorers which randomises from available lost explorer encounters.
This works very nicely indeed using the REST API via sending the "Monster Island Jungle Daily.json" as the json file.
----
I would like to call each of the gen:Monster Island Standard Encounter#encounter types (there are lot of them) directly.
They are like this:
In the Monster Island Standard Encounter I might have these blocks
{
"name": "encounter1",
"entries": [
"encounterstuff"
]
},
{
"name": "encounter2",
"entries": [
"encounterstuff"
]
},
...
....
{
"name": "encounterxxx",
"entries": [
"encounterstuff"
]
},
What is the right way to call these via REST API
...or do I have to create a json file for each of these encounters...
--h
Currently I have normal REST API working.
Let's say it is Monster Island Jungle Daily.json.
Via it I can call different json file and generate random entry using gen:Monster Island Standard Encounter#JungleEncounterDay
That in succession calls gen:Monster Island Standard Encounter#Lost Explorers which randomises from available lost explorer encounters.
This works very nicely indeed using the REST API via sending the "Monster Island Jungle Daily.json" as the json file.
----
I would like to call each of the gen:Monster Island Standard Encounter#encounter types (there are lot of them) directly.
They are like this:
In the Monster Island Standard Encounter I might have these blocks
{
"name": "encounter1",
"entries": [
"encounterstuff"
]
},
{
"name": "encounter2",
"entries": [
"encounterstuff"
]
},
...
....
{
"name": "encounterxxx",
"entries": [
"encounterstuff"
]
},
What is the right way to call these via REST API
...or do I have to create a json file for each of these encounters...
--h