aYOUne
← iot API

NfcReaders

Singular: NfcReader — Base URL: https://iot.ayoune.app — Access: CRUD

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": "6a6191d564dcf0e6fb50036b",
    "active": true,
    "name": "PRELIMINARY_GOLD_R2-D2",
    "supportsNdef": false,
    "supportsMifare": false,
    "paired": false,
    "status": "ok",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-23T04:00:21.784Z",
    "updatedAt": "2026-07-23T04:00:22.482Z",
    "modifiedBy": "6045f4d25704710012485569"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://iot.ayoune.app/nfcreaders/6a6191d564dcf0e6fb50036b",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a62e2c379163975546243c9",
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.35.1",
      "core": "2026.258.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2457",
      "reset": "1784868468",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 204.959628,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also