Download OpenAPI specification:Download
Fiftyville API written in Go.
List Crime Scene Reports
date | string <date> Example: date=January 2, 2006 |
street | string |
[- {
- "date": "January 1, 2021",
- "street": "Chamberlin Street",
- "description": "Credit card fraud took place at 00:53. Two people witnessed the event."
}, - {
- "date": "January 6, 2021",
- "street": "Aydede",
- "description": "Reckless driving took place at 07:18. No known witnesses."
}, - {
- "date": "January 22, 2021",
- "street": "Humphrey Lane",
- "description": "Expired parking meter took place at 09:47. One person witnessed the incident."
}
]
[- {
- "name": "Melissa",
- "date": "January 1, 2021",
- "transcript": "“Then we have stopped all the holes. And now we must be silent and wait.”"
}, - {
- "name": "Wayne",
- "date": "January 6, 2021",
- "transcript": "“You reasoned it out beautifully,” I exclaimed in unfeigned admiration. “It is so long a chain, and yet every link rings true.”"
}, - {
- "name": "Carol",
- "date": "February 4, 2021",
- "transcript": "“And the ring?” I asked, glancing at a remarkable brilliant which sparkled upon his finger."
}
]
List Bakery Security Logs
date | string <date> Example: date=January 2, 2006 |
time | string <time> Example: time=03:04 PM |
time-2 | string <time> Example: time-2=03:04 PM |
activity | string Enum: "entrance" "exit" |
[- {
- "date": "July 25, 2021",
- "time": "07:01 AM",
- "activity": "entrance",
- "licensePlate": "0R0FW39"
}, - {
- "date": "July 26, 2021",
- "time": "02:07 PM",
- "activity": "exit",
- "licensePlate": "0WZS77X"
}, - {
- "date": "July 28, 2021",
- "time": "08:59 AM",
- "activity": "entrance",
- "licensePlate": "O784M2U"
}
]
List ATM Transactions
date | string <date> Example: date=January 2, 2006 |
atm-location | string |
transaction-type | string Enum: "deposit" "withdraw" |
[- {
- "accountNumber": 57022441,
- "date": "July 26, 2021",
- "atmLocation": "Humphrey Lane",
- "transactionType": "deposit",
- "amount": 40
}, - {
- "accountNumber": 47306903,
- "date": "July 28, 2021",
- "atmLocation": "Daboin Sanchez Drive",
- "transactionType": "withdraw",
- "amount": 90
}, - {
- "accountNumber": 19531272,
- "date": "August 1, 2021",
- "atmLocation": "Blumberg Boulevard",
- "transactionType": "deposit",
- "amount": 60
}
]
List People
license-plate | Array of strings <license-plate> [ items <license-plate > ] Examples: license-plate=W2CT78U license-plate=HN8I106 license-plate=47KK91C |
account-number | Array of integers <account-number> [ items <account-number > ] Examples: account-number=14180174 account-number=42445987 account-number=70504954 |
phone-number | Array of strings <phone-number> [ items <phone-number > ] Examples: phone-number=(604) 555-0153 phone-number=(901) 555-8732 phone-number=(247) 555-7205 |
[- {
- "name": "Kaelyn",
- "phoneNumber": "(098) 555-1164",
- "passportNumber": 8304650265,
- "licensePlate": "I449449",
- "accountNumber": 86363979,
- "creationYear": 2010
}, - {
- "name": "Billy",
- "phoneNumber": "(060) 555-2489",
- "passportNumber": 9290922261,
- "licensePlate": "2HB7G9N",
- "accountNumber": 56648519,
- "creationYear": 2011
}, - {
- "name": "Alexis",
- "phoneNumber": "(814) 555-5180",
- "passportNumber": 5310124622,
- "licensePlate": "X4G3938",
- "accountNumber": 95773068,
- "creationYear": 2016
}
]
List Phone Calls
date | string <date> Example: date=January 2, 2006 |
duration-inequality | string Enum: "<" ">" |
duration | integer |
caller | Array of strings <phone-number> [ items <phone-number > ] Examples: caller=(604) 555-0153 caller=(901) 555-8732 caller=(247) 555-7205 |
[- {
- "caller": "(123) 555-5144",
- "receiver": "(007) 555-2874",
- "date": "July 25, 2021",
- "duration": 243
}, - {
- "caller": "(260) 555-0610",
- "receiver": "(464) 555-2162",
- "date": "July 27, 2021",
- "duration": 282
}, - {
- "caller": "(932) 555-1504",
- "receiver": "(547) 555-8781",
- "date": "July 31, 2021",
- "duration": 383
}
]
List Flights
date | string <date> Example: date=January 2, 2006 |
passport-number | Array of integers <passport-number> [ items <passport-number > ] Examples: passport-number=6264773605 passport-number=3642612721 passport-number=4356447308 |
[- {
- "passportNumber": 4120608613,
- "seat": "4D",
- "date": "July 26, 2021",
- "time": "01:56 PM",
- "originAirport": "O'Hare International Airport",
- "destinationAirport": "Fiftyville Regional Airport"
}, - {
- "passportNumber": 6128131458,
- "seat": "5D",
- "date": "July 28, 2021",
- "time": "01:49 PM",
- "originAirport": "Fiftyville Regional Airport",
- "destinationAirport": "Dallas/Fort Worth International Airport"
}, - {
- "passportNumber": 3699913849,
- "seat": "9C",
- "date": "July 30, 2021",
- "time": "08:56 PM",
- "originAirport": "Fiftyville Regional Airport",
- "destinationAirport": "Beijing Capital International Airport"
}
]
List Airports
full-name | string |
flight-time | string <time> Example: flight-time=03:04 PM |
[- {
- "abbreviation": "DXB",
- "fullName": "Dubai International Airport",
- "city": "Dubai"
}, - {
- "abbreviation": "DEL",
- "fullName": "Indira Gandhi International Airport",
- "city": "Delhi"
}, - {
- "abbreviation": "CDG",
- "fullName": "Charles de Gaulle Airport",
- "city": "Paris"
}
]