← DevOps API
ServiceGroups
Singular: ServiceGroup — Base URL: https://devops-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /servicegroups |
List with filters/pagination | devops.servicegroups.view |
| GET | /servicegroups/:id |
Single record | devops.servicegroups.view |
| POST | /servicegroups |
Create new record | devops.servicegroups.new |
| PUT | /servicegroups |
Update record | devops.servicegroups.edit |
| DELETE | /servicegroups/:id |
Delete record | devops.servicegroups.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.devops.serviceGroups.find().limit(10).exec();
// Single record
const one = await ay.devops.serviceGroups.findById('OBJECT_ID').exec();
// Create
const created = await ay.devops.serviceGroups.create({ name: 'Foo' });