all apis


All APIs

Streetlights Kafka API

The Smartylighting Streetlights API allows you to remotely manage the city lights.

Features:

  • Turn a specific streetlight on/off 🌃
  • Dim a specific streetlight 😎
  • Receive real-time information about environmental lighting conditions 📈

Channels

1. Lighting Measured

Channel: smartylighting.streetlights.1.0.event.{streetlightId}.lighting.measured

Description: The topic on which measured values may be produced and consumed.

Operation ID: receiveLightMeasurement

2. Turn On

Channel: smartylighting.streetlights.1.0.action.{streetlightId}.turn.on

Operation ID: turnOn

3. Turn Off

Channel: smartylighting.streetlights.1.0.action.{streetlightId}.turn.off

Operation ID: turnOff

4. Dim Light

Channel: smartylighting.streetlights.1.0.action.{streetlightId}.dim

Operation ID: dimLight

Home IoT API

The API for the EatBacon IOT project.

Endpoints

1. Get Devices

Method: GET

Path: /devices

Description: Returns all registered devices.

2. Register Device

Method: POST

Path: /devices

Description: Successfully registered device.

3. Set Dimmer

Method: POST

Path: /lighting/dimmers/{deviceId}/{value}

Description: Sets a dimmer to a specific value.

4. Get Lighting Summary

Method: GET

Path: /lightingSummary

Description: Retrieves the lighting summary.

Swagger Petstore

This is a sample Petstore server.

Endpoints

1. Add Pet

Method: POST

Path: /pet

Description: Add a new pet to the store.

2. Find Pets by Status

Method: GET

Path: /pet/findByStatus

Description: Finds Pets by status.

3. Get Pet by ID

Method: GET

Path: /pet/{petId}

Description: Returns a single pet.

4. Place Order

Method: POST

Path: /store/order

Description: Place an order for a pet.

5. Create User

Method: POST

Path: /user

Description: Create user.