You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document the data models (categories and properties) for all data models that will be handled by the Streetlights API. Also, all methods that the API will support for clients (front-end application) requesting data.
Document the data models (categories and properties) for all data models that will be handled by the Streetlights API. Also, all methods that the API will support for clients (front-end application) requesting data.
e.g.
Streetlight: {
id: string,
bulbType: 'Inc' | 'LED' | 'Fireflies',
wireless: boolean,
fixture_mfg: string
}
Methods:
getStreetlight(id):
Returns a single streetlight.
Parameters:
id: the ID of the streetlight to be returned.
Returns: JSON
The text was updated successfully, but these errors were encountered: