360 Secure SkillHub
360 安全技能中心

Lap Altoroj Rest Api

围绕 AltoroJ REST 银行模拟 API,按 login、account、transfer、feedback、admin、logout 六组整理 12 个端点的方法与路径,说明使用 API Key 头部认证并给出环境变量配置。技能未指定 Base URL,且引用的完整规范文件缺失,参数与响应 schema 无法获取。

mickmicksh
mickmicksh
热度 39.03
最近更新 2026-05-11 10:00:08
分类:开发依赖:第三方 API / 代码执行应用场景:API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lap-altoroj-rest-api
Metadata
name
lap-altoroj-rest-api
description
AltoroJ REST API skill. Use when working with AltoroJ REST for login, account, transfer. Covers 12 endpoints.
version
1.0.0
generator
lapsh
metadata
{"openclaw":{"requires":{"env":["ALTOROJ_REST_API_KEY"]}}}

AltoroJ REST API

API version: 1.0.2

Auth

ApiKey Authorization in header

Base URL

Not specified.

Setup

  1. Set your API key in the appropriate header
  2. GET /login -- verify access
  3. POST /login -- create first login

Endpoints

12 endpoints across 6 groups. See references/api-spec.lap for full details.

login

Method Path Description
GET /login Check if any user is logged in
POST /login Login method

account

Method Path Description
GET /account Returns a list of all the accounts owned by the user
GET /account/{accountNo} Returns details about a specific account
GET /account/{accountNo}/transactions Returns the last 10 transactions attached to an account
POST /account/{accountNo}/transactions Return transactions between 2 specific dates

transfer

Method Path Description
POST /transfer Transfer money between two accounts

feedback

Method Path Description
POST /feedback/submit Submit feedback for the bank
GET /feedback/{feedbackId} Retrieve feedback

admin

Method Path Description
POST /admin/addUser Add new user
POST /admin/changePassword Change user password

logout

Method Path Description
GET /logout Logout from the bank

Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:

  • "List all login?" -> GET /login
  • "Create a login?" -> POST /login
  • "List all account?" -> GET /account
  • "Get account details?" -> GET /account/{accountNo}
  • "List all transactions?" -> GET /account/{accountNo}/transactions
  • "Create a transaction?" -> POST /account/{accountNo}/transactions
  • "Create a transfer?" -> POST /transfer
  • "Create a submit?" -> POST /feedback/submit
  • "Get feedback details?" -> GET /feedback/{feedbackId}
  • "Create a addUser?" -> POST /admin/addUser
  • "Create a changePassword?" -> POST /admin/changePassword
  • "List all logout?" -> GET /logout
  • "How to authenticate?" -> See Auth section

Response Tips

  • Check response schemas in references/api-spec.lap for field details
  • Create/update endpoints typically return the created/updated object

CLI

# Update this spec to the latest version
npx @lap-platform/lapsh get altoroj-rest-api -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search altoroj-rest-api

References

  • Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

Generated from the official API spec by LAP