Storylines Schema
The information will be display inside the «data» property.
Operator Type Description name
string The name of the storyline description string The description of the storyline issues array List of comic book issues that make up the storyline publication_date string Storyline publication date writer string Writer(s) of the storyline artist string Artist(s) of the storyline characters
array List of characters related to the storyline locations array List of locations related to the storyline
Get All Storylines
In order to get the characters you must use: https://api.batmanapi.com/v1/storylines
There are 41 Storylines
Pagination: You will get up to 10 characters at once by default.
{
"data": [
{
"id": 1,
"attributes": {
"name": "The Long Halloween",
"description": "A mystery story set in Batman's early days, dealing with a serial killer named Holiday.",
"issues": [
"Batman: The Long Halloween #1-13"
],
"publication_date": "1996-10-01",
"writer": "Jeph Loeb",
"artist": "Tim Sale",
"characters": [
"Batman",
"Harvey Dent",
"Jim Gordon"
],
"locations": [
"Gotham City",
"GCPD Headquarters"
],
"image_url": "https://example.com/images/the_long_halloween.jpg"
}
},
{
"id": 2,
"attributes": {
"name": "Year One",
"description": "The origin of Batman and his first year fighting crime in Gotham City.",
"issues": [
"Batman #404-407"
],
"publication_date": "1987-02-01",
"writer": "Frank Miller",
"artist": "David Mazzucchelli",
"characters": [
"Batman",
"Jim Gordon",
"Catwoman"
],
"locations": [
"Gotham City",
"Crime Alley"
],
"image_url": "https://example.com/images/year_one.jpg"
}
},
{
... The rest of the Storylines ...
}
],
"meta": {
"pagination": {
"page": 1,
"pageSize": 10,
"pageCount": 5,
"total": 41
}
}
}
Get a Single Storyline
In order to get a storyline you must use a params: https://api.batmanapi.com/v1/storylines /:id
Example: https://api.batmanapi.com/v1/storylines/1
{
"data": {
"id": 1,
"attributes": {
"name": "The Long Halloween",
"description": "A mystery story set in Batman's early days, dealing with a serial killer named Holiday.",
"issues": [
"Batman: The Long Halloween #1-13"
],
"publication_date": "1996-10-01",
"writer": "Jeph Loeb",
"artist": "Tim Sale",
"locations": [
"Gotham City",
"GCPD Headquarters"
],
"characters": [
"Batman",
"Harvey Dent",
"Jim Gordon"
],
"image_url": "https://example.com/images/the_long_halloween.jpg"
}
},
"meta": {
}
}