aYOUne
← Projektmanagement API

Tasks

Singular: Task — Base-URL: https://pm-api.ayoune.app — Zugriff: CRUD

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "points": {
      "complexity": 0,
      "others": 0,
      "risk": 0,
      "total": 0,
      "workload": 0
    },
    "changeRequest": {
      "billable": false,
      "charged": false,
      "customerAccepted": false,
      "customerAcceptedIP": "",
      "customerDeclined": false,
      "customerDeclinedIP": "",
      "customerDeclinedReason": "",
      "customerInformed": false,
      "description": "false",
      "isChangeRequest": false
    },
    "featureRequest": {
      "billable": false,
      "charged": false,
      "customerAccepted": false,
      "customerAcceptedIP": "",
      "customerDeclined": false,
      "customerDeclinedIP": "",
      "customerDeclinedReason": "",
      "description": "false",
      "isFeatureRequest": false
    },
    "relations": {
      "blocks": [],
      "clones": [],
      "develops": [],
      "duplicates": [],
      "isBlockedBy": [],
      "isClonedBy": [],
      "isDevelopedBy": [],
      "isDuplicatedBy": [],
      "relatesTo": []
    },
    "tests": {
      "doing": false,
      "results": [],
      "steps": [],
      "testers": []
    },
    "changelog": {
      "milestonesAffected": []
    },
    "acceptance": {
      "fromAcceptance": false,
      "ip": "",
      "signed": false
    },
    "errorDetails": {
      "origin": "mongoose-strict-drop",
      "app": "ayoune-api-accounting-develop-node-6c4ccdf4bc-td2df[kube]@2026.22.2",
      "pod": "ayoune-api-accounting-develop-node-6c4ccdf4bc-td2df",
      "stack": "Error: schema-drop\n    at reportStrictDrops (/usr/src/ayoune-api-accounting/node_modules/@tolinax/ayoune-core/lib/database/strictDropDetection/reportStrictDrops.js:79:20)\n    at checkStrictDrops (/usr/src/ayoune-api-accounting/node_modules/@tolinax/ayoune-core/lib/database/strictDropDetection/index.js:45:47)\n    at /usr/src/ayoune-api-accounting/node_modules/@tolinax/ayoune-core/lib/database/methods/create/create.js:22:48\n    at Generator.next (<anonymous>)\n    at fulfilled (/usr/src/ayoune-api-accounting/node_modules/@tolinax/ayoune-core/lib/database/methods/create/create.js:5:58)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "originData": "{\n    \"model\": \"BankMatchProposals\",\n    \"operation\": \"create\",\n    \"dropped\": [\n        \"name\"\n    ],\n    \"droppedCount\": 1,\n    \"debugId\": \"6a6188b9370035197dc6ac62\",\n    \"_user\": \"6045f4d25704710012485569\"\n}"
    },
    "_id": "6a6189054b2a1b7d2c54a0af",
    "subject": "Schema-Drop: BankMatchProposals.create",
    "_codeAgentSessions": [],
    "adobeXDEmbedURL": "",
    "adobeXDURL": "",
    "archive": false,
    "attachments": [],
    "attributes": [],
    "checklists": [],
    "color": "#b70000",
    "comments": [],
    "commits": [],
    "consumerContributors": [],
    "contributors": [],
    "createdAt": "2026-07-23T03:22:45.377Z",
    "createdBy": "5a76d07e2d8b3270ff6df587",
    "dependentPlanning": false,
    "design": "",
    "development": true,
    "done": false,
    "end": "2026-07-23T03:22:45.378Z",
    "endCondition": "dynamic",
    "escalated": false,
    "escalatedUser": "",
    "exchangeId": "",
    "faqs": [],
    "featureStatus": "Labs",
    "figmaEmbedURL": "",
    "figmaURL": "",
    "handoffs": [],
    "ignoreInAutoPlaning": false,
    "internal": false,
    "isError": true,
    "note": "Mongoose dropped 1 field(s) on BankMatchProposals.create: name.<br /><br />Likely a schema-/models-version skew between client and pod. Verify the deployed @tolinax/ayoune-models version against the producer.",
    "origin": "system",
    "planingdays": 0,
    "planingtime": 0,
    "planingtimeGross": 0,
    "pm": true,
    "priority": "normal",
    "progress": 0,
    "project": "6308c71e1387d61aef4f078f",
    "projectKey": "AB",
    "questions": [],
    "reactions": [],
    "recaps": [],
    "relative": "after",
    "resttime": 0,
    "reviewers": [],
    "scanID": "NKTJ7VFW",
    "servicedesk": false,
    "skills": [],
    "start": "2026-07-23T03:22:45.378Z",
    "startCondition": "direct",
    "status": "open",
    "supportPriority": "Normal",
    "tags": [],
    "ticketIdentifier": "6JIAU83",
    "timeAfter": 0,
    "timeBefore": 0,
    "timespan": false,
    "type": "Bug",
    "typeIcon": "check",
    "updatedAt": "2026-07-23T03:22:45.377Z",
    "user": "5a76d07e2d8b3270ff6df587",
    "votes": [],
    "watchers": [],
    "wikipages": [],
    "working": false,
    "worklogs": [],
    "worktime": 0
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://pm-api.ayoune.app/tasks/6a6189054b2a1b7d2c54a0af",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects/6308c71e1387d61aef4f078f",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      },
      {
        "rel": "ProjectRequirements",
        "title": "MODEL_PROJECTREQUIREMENT",
        "href": "https://api.ayoune.app/config/projectrequirements",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.projectrequirements"
      },
      {
        "rel": "Stories",
        "title": "MODEL_STORY",
        "href": "https://api.ayoune.app/pm/stories",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.stories"
      },
      {
        "rel": "Sprints",
        "title": "MODEL_SPRINT",
        "href": "https://api.ayoune.app/pm/sprints",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.sprints"
      },
      {
        "rel": "Milestones",
        "title": "MODEL_MILESTONE",
        "href": "https://api.ayoune.app/pm/milestones",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.milestones"
      },
      {
        "rel": "Components",
        "title": "MODEL_COMPONENT",
        "href": "https://api.ayoune.app/pm/components",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.components"
      },
      {
        "rel": "Epics",
        "title": "MODEL_EPIC",
        "href": "https://api.ayoune.app/pm/epics",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.epics"
      },
      {
        "rel": "Retrospectives",
        "title": "MODEL_RETROSPECTIVE",
        "href": "https://api.ayoune.app/pm/retrospectives",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.retrospectives"
      },
      {
        "rel": "Decisions",
        "title": "MODEL_DECISION",
        "href": "https://api.ayoune.app/pm/decisions",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.decisions"
      },
      {
        "rel": "Assignments",
        "title": "MODEL_ASSIGNMENT",
        "href": "https://api.ayoune.app/sale/assignments",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.assignments"
      },
      {
        "rel": "ServiceAssignments",
        "title": "MODEL_SERVICEASSIGNMENT",
        "href": "https://api.ayoune.app/service/serviceassignments",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "service.serviceassignments"
      },
      {
        "rel": "Products",
        "title": "MODEL_PRODUCT",
        "href": "https://api.ayoune.app/pim/products",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pim.products"
      },
      {
        "rel": "Offers",
        "title": "MODEL_OFFER",
        "href": "https://api.ayoune.app/sale/offers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.offers"
      },
      {
        "rel": "Contracts",
        "title": "MODEL_CONTRACT",
        "href": "https://api.ayoune.app/sale/contracts",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.contracts"
      },
      {
        "rel": "Opportunities",
        "title": "MODEL_OPPORTUNITY",
        "href": "https://api.ayoune.app/sale/opportunities",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.opportunities"
      },
      {
        "rel": "Shippings",
        "title": "MODEL_SHIPPING",
        "href": "https://api.ayoune.app/sale/shippings",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.shippings"
      },
      {
        "rel": "DepositInvoices",
        "title": "MODEL_DEPOSITINVOICE",
        "href": "https://api.ayoune.app/sale/depositinvoices",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.depositinvoices"
      },
      {
        "rel": "Invoices",
        "title": "MODEL_INVOICE",
        "href": "https://api.ayoune.app/sale/invoices",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.invoices"
      },
      {
        "rel": "DepositInvoices",
        "title": "MODEL_DEPOSITINVOICE",
        "href": "https://api.ayoune.app/sale/depositinvoices",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.depositinvoices"
      },
      {
        "rel": "CommissionSettlements",
        "title": "MODEL_COMMISSIONSETTLEMENT",
        "href": "https://api.ayoune.app/sale/commissionsettlements",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.commissionsettlements"
      },
      {
        "rel": "WikiPages",
        "title": "MODEL_WIKIPAGE",
        "href": "https://api.ayoune.app/hub/wikipages",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "hub.wikipages"
      },
      {
        "rel": "ImapMails",
        "title": "MODEL_IMAPMAIL",
        "href": "https://api.ayoune.app/crm/imapmails",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.imapmails"
      },
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Workflows",
        "title": "MODEL_WORKFLOW",
        "href": "https://api.ayoune.app/pm/workflows",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.workflows"
      },
      {
        "rel": "Invoices",
        "title": "MODEL_INVOICE",
        "href": "https://api.ayoune.app/sale/invoices",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.invoices"
      },
      {
        "rel": "Invoices",
        "title": "MODEL_INVOICE",
        "href": "https://api.ayoune.app/sale/invoices",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "sale.invoices"
      },
      {
        "rel": "Acceptances",
        "title": "MODEL_ACCEPTANCE",
        "href": "https://api.ayoune.app/pm/acceptances",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.acceptances"
      },
      {
        "rel": "Repositories",
        "title": "MODEL_REPOSITORY",
        "href": "https://api.ayoune.app/devops/repositories",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.repositories"
      }
    ],
    "debugId": "6a619878f0cde3e459455b4d",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_TASK",
        "href": "https://api.ayoune.app/pm/tasks/6a6189054b2a1b7d2c54a0af/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_TASK",
        "href": "https://api.ayoune.app/pm/tasks/6a6189054b2a1b7d2c54a0af/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.34.0",
      "core": "2026.257.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2209",
      "reset": "1784784467",
      "resetDate": "Thu Jul 23 2026"
    },
    "responseTime": 492.184337,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /tasks Liste mit Filtern/Paginierung pm.tasks.view
GET /tasks/:id Einzelner Datensatz pm.tasks.view
POST /tasks Neuen Datensatz erstellen pm.tasks.new
PUT /tasks Datensatz aktualisieren pm.tasks.edit
DELETE /tasks/:id Datensatz löschen pm.tasks.delete

SDK

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

// Alle abrufen
const list = await ay.pm.tasks.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.pm.tasks.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.pm.tasks.create({ name: 'Foo' });

Weiterführend