streams/api

A RESTful API for Laravel Streams.

Installs: 565

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 2

Open Issues: 1

Type:streams-addon

1.0.x-dev 2022-08-01 21:51 UTC

This package is auto-updated.

Last update: 2022-08-01 21:51:16 UTC


README

A full-featured API package for the Streams platform that gives you total control.

Documentation

This project is documented at streams.dev.

Installation

composer require streams/api

Configuration

php artisan vendor:publish --provider=Streams\\Api\\ApiServiceProvider --tag=config

Endpoints

GET /api/streams
POST /api/streams
GET /api/streams/{stream}
PATCH /api/streams/{stream}
PUT /api/streams/{stream}
DELETE /api/streams/{stream}

GET /api/streams/{stream}/entries
POST /api/streams/{stream}/entries
GET /api/streams/{stream}/entries/{entry}
PATCH /api/streams/{stream}/entries/{entry}
PUT /api/streams/{stream}/entries/{entry}
DELETE /api/streams/{stream}/entries/{entry}

?q={"where": [["id", "LIKE", "%doc%"]]}
?q={"orderBy": [["name", "asc"]]}