aYOUne
← iot API

NfcReaders

Singular: NfcReader — Base URL: https://iot.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": "6aa37afbd3f975e39f6bd4d3",
    "active": true,
    "name": "STRICT_CYAN_KIT FISTO",
    "supportsNdef": false,
    "supportsMifare": false,
    "paired": false,
    "status": "ok",
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-09-11T03:52:27.737Z",
    "updatedAt": "2026-09-11T03:52:28.554Z",
    "modifiedBy": "6045f4d25704710012485569"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://iot.ayoune.app/nfcreaders/6aa37afbd3f975e39f6bd4d3",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6aa37afcd3f975e39f6bd523",
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.42.1",
      "core": "2026.335.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2487",
      "reset": "1789102344",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 412.505057,
    "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