Gofiftyville API (1.0.0)

Download OpenAPI specification:Download

Fiftyville API written in Go.

Crime Scene Reports

List Crime Scene Reports

query Parameters
date
string <date>
Example: date=January 2, 2006
street
string

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Interviews

List Interviews

query Parameters
date
string <date>
Example: date=January 2, 2006

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Bakery Security Logs

List Bakery Security Logs

query Parameters
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"

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

ATM Transactions

List ATM Transactions

query Parameters
date
string <date>
Example: date=January 2, 2006
atm-location
string
transaction-type
string
Enum: "deposit" "withdraw"

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

People

List People

query Parameters
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

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Phone Calls

List Phone Calls

query Parameters
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

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Flights

List Flights

query Parameters
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

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Airports

List Airports

query Parameters
full-name
string
flight-time
string <time>
Example: flight-time=03:04 PM

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Final Answer

Submit Final Answer

query Parameters
thief
string
city
string <full-name>
accomplice
string

Responses

Response samples

Content type
application/json
{
  • "message": "Congratulations! You found the culprit!"
}