Skip to Content
Sayren 유저가이드
주문 플로우 노드 종류

노드·블록 종류 하나

종류 하나의 설정 형식(JSON Schema, 공통 설정은 `$defs`)과 검사를 통과하는 예시 설정. 노드를 더하거나 고치기 전에 읽는다. 없는 종류는 404 `FLOW_NODE_TYPE_NOT_FOUND`(`details.types`).

GET
/v1/flow-node-types/{type}

종류 하나의 설정 형식(JSON Schema, 공통 설정은 $defs)과 검사를 통과하는 예시 설정. 노드를 더하거나 고치기 전에 읽는다. 없는 종류는 404 FLOW_NODE_TYPE_NOT_FOUND(details.types).

Authorization

accessToken
headerAuthorizationBearer <JWT>

Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)

Path Parameters

type*string

Header Parameters

X-Store-Id*string

대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X GET 'https://api.sayren.io/v1/flow-node-types/string' \
  -H 'X-Store-Id: string'
Example Response
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "type": "string",
    "category": "string",
    "version": 0,
    "kind": "string",
    "effect": "string",
    "outputs": [
      "string"
    ],
    "name": "string",
    "description": "string",
    "configSchema": {
      "property1": null,
      "property2": null
    },
    "example": {
      "property1": null,
      "property2": null
    }
  },
  "error": null
}