aYOUne
← Export API

AssignmentChannels

Singular: AssignmentChannel — Base-URL: https://export-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": {
    "restrictions": {
      "teams": [],
      "users": []
    },
    "_id": "65e0b0b7121b7d48fe1586a5",
    "check": false,
    "valid": false,
    "share": false,
    "key": "",
    "url": "",
    "booleanAs": "yn",
    "delimiter": ",",
    "quotes": "\"",
    "hasCSVColumnTitle": true,
    "ending": "default",
    "encoding": "utf8",
    "flag_export": "none",
    "flag_export_date": "none",
    "createdBy": "6045f4d25704710012485569",
    "fields": [],
    "createdAt": "2024-02-29T16:28:39.331Z",
    "updatedAt": "2024-02-29T16:28:39.331Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://export-api.ayoune.app/assignmentchannels/65e0b0b7121b7d48fe1586a5",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a62dff7c18c2749f553f636",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_ASSIGNMENTCHANNEL",
        "href": "https://api.ayoune.app/export/assignmentchannels/65e0b0b7121b7d48fe1586a5/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_ASSIGNMENTCHANNEL",
        "href": "https://api.ayoune.app/export/assignmentchannels/65e0b0b7121b7d48fe1586a5/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.0.2",
      "core": "2026.234.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2490",
      "reset": "1784868359",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 96.914429,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend