Horse Fleet Information

CLtd maintains a small fleet (herd) or horses that are used to make deliveries. Information about these horses can be retrieved from this service.

Each horse has a unique id, this is a string of characters that provides a shorthand method of referring to one horse in the fleet without repeatedly listing all its properties twice. Beyond their ids, this service can be used to find each horse's;

Valid Horse ids

There are 11 horses in the fleet, whose ids and names are (in no particular order);

The horses/information service provides information about a horse given its id. Information about multiple horses can be requested at once if necessary. The response is a json file of as many entries as unique horse ids that were given. Each entry in the file contains keys "id", "name", "carry capacity", "relative speed", "additional notes" corresponding to the information above.

Querying

To query for information about the horses with ids X, Y, and Z:

Parameters

Examples

Return format

The horses/information service will return a .json file of as many entries as unique horse ids that were given.

[
    {
        "id": "X",
        "name": "Horse-X",
        "carry capacity": 0.0,
        "relative speed": 1.0,
        "additional notes": "Info on horse X"
    },
    {
        "id": "Y",
        "name": "Horse-Y",
        "carry capacity": 0.0,
        "relative speed": 1.0,
        "additional notes": "Info on horse Y"
    },
    ...
]

No particular order is guaranteed for the ordering of the entries. Keys have the corresponding types: