aYOUne
← DevOps API

BitbucketPipelines

Singular: BitbucketPipeline — Base URL: https://devops-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "payload": {
    "_id": "6aa379ff94eec8479bfb215e",
    "repositoryFullName": "OUTDOOR_IVORY_LUKE SKYWALKER",
    "createdBy": "6045f4d25704710012485569",
    "steps": [],
    "shares": [],
    "createdAt": "2026-09-11T03:48:15.086Z",
    "updatedAt": "2026-09-11T03:48:15.086Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://devops-api.ayoune.app/bitbucketpipelines/6aa379ff94eec8479bfb215e",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      }
    ],
    "debugId": "6aa37a0094eec8479bfb21c7",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_BITBUCKETPIPELINE",
        "href": "https://api.ayoune.app/devops/bitbucketpipelines/6aa379ff94eec8479bfb215e/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_BITBUCKETPIPELINE",
        "href": "https://api.ayoune.app/devops/bitbucketpipelines/6aa379ff94eec8479bfb215e",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.24.0",
      "core": "2026.335.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2462",
      "reset": "1789099658",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 196.596447,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /bitbucketpipelines List with filters/pagination devops.bitbucketpipelines.view
GET /bitbucketpipelines/:id Single record devops.bitbucketpipelines.view
POST /bitbucketpipelines Create new record devops.bitbucketpipelines.new
PUT /bitbucketpipelines Update record devops.bitbucketpipelines.edit
DELETE /bitbucketpipelines/:id Delete record devops.bitbucketpipelines.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.devops.bitbucketPipelines.find().limit(10).exec();

// Single record
const one = await ay.devops.bitbucketPipelines.findById('OBJECT_ID').exec();

// Create
const created = await ay.devops.bitbucketPipelines.create({ name: 'Foo' });

See also