bmob-database-restful SKILL.md skillA

bmob-database-restful from bmob/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bmob/agent-skills/bmob-database-restful@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bmob/agent-skills
Path
skills/bmob-database-restful/SKILL.md
Versions recorded
4
Latest version
v0.1.0, committed Jun 4, 2026
First version recorded
May 27, 2026
Size
12,823 bytes
Repository stars
4
License
MIT

Use when interacting with Bmob backend cloud over plain HTTP / curl from ANY language that lacks a Bmob SDK — Python (requests/httpx), Go (net/http), PHP (Guzzle), C# (HttpClient), Rust (reqwest), Ruby, Java backend, Bash, Deno, server-side scripting, data migration. Also use when the user explicitly wants curl or the raw REST API URL pattern. API base domain: https://api.codenow.cn (e.g. /1/classes/Token). Triggers: /1/classes/, /1/users, /1/batch, /1/cloudQuery, /1/timestamp…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Bmob Database — REST API

Bmob REST API 是 **跨语言、跨平台** 的通用接入方式:任何能发 HTTP 请求的环境都能用,不依赖任何 SDK。典型用法包括 Python/Go/PHP/C#/Rust/Ruby/Java 后端、数据迁移脚本、Bash one-liner、Deno Edge Functions、Serverless 函数等。

## 核心原则

**1. URL 形态固定:** 所有接口在 `https://api.codenow.cn/1/`(Bmob 控制台 → 应用 → 设置 → 配置 中显示的 API 域名,一般为 `api.codenow.cn`)。版本号 `/1/` 必须保留。

示例:`https://api.codenow.cn/1/classes/Token` — 对 `Token` 表做 CRUD 时路径即 `/1/classes/Token`。

```
POST   /1/classes/<TableName>              # 新增
GET    /1/classes/<TableName>/<objectId>   # 查单条
GET    /1/classes/<TableName>              # 查列表 / 条件查询
PUT    /1/classes/<TableName>/<objectId>   # 更新
DELETE /1/classes/<TableName>/<objectId>   # 删除
POST   /1/batch                            # 批量(≤ 50 条)
GET    /1/cloudQuery                       # BQL 查询
POST   /1/users                            # 注册
POST   /1/login                            # 登录
POST   /2/files/<fileName>                 # 上传文件
GET    /1/timestamp                        # 服务器时间
```

完整快速参考见 [`references/url-cheatsheet.md`](references/url-cheatsheet.md)。

**2. 两种鉴权方式,均可用**(与 hydrogen-js-sdk **3.0+** 的两种 `Bmob.initialize` 对应):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bmob/agent-skills/bmob-database-restful@sha256:eaace38c9c667827

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_utqa3puu5cncyhjj.svg)](https://markdownregistry.com/a/art_utqa3puu5cncyhjj)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between May 27, 2026 and Jun 4, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-06-04 e0761d3 12,823 BA view · diff
v0.1.02026-05-29 d5c8e4c 12,029 BA view · diff
v0.1.02026-05-27 54c3792 10,899 BA view · diff
v0.1.02026-05-27 7d95f5f 10,706 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12823 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bmob/agent-skills · 4 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_utqa3puu5cncyhjj
GET https://markdownregistry.com/api/v1/resolve?ref=bmob/agent-skills/bmob-database-restful
GET https://markdownregistry.com/api/v1/blob/eaace38c9c667827cb970b6b20c3fcbac20dd24b5e134ea1e71441503007b73b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bmob/agent-skills

bmob-cloud-function-development SKILL.md skill
bmob/agent-skills · skills/bmob-cloud-function-development/SKILL.md · Write, upload, verify, and sync Bmob server-side cloud functions using the Bmob MCP server when available. Use when the…
v0.4.0 · audit A · 4 stars
bmob-database-android SKILL.md skill
bmob/agent-skills · skills/bmob-database-android/SKILL.md · Use when implementing Bmob NoSQL database CRUD in an Android Native project (Java or Kotlin). Triggers…
v0.1.0 · audit A · 4 stars
bmob-database-flutter SKILL.md skill
bmob/agent-skills · skills/bmob-database-flutter/SKILL.md · Use when implementing Bmob NoSQL database CRUD in a Flutter / Dart project with the official bmob_plugin package…
v0.1.0 · audit A · 4 stars
bmob-database-ios SKILL.md skill
bmob/agent-skills · skills/bmob-database-ios/SKILL.md · Use when implementing Bmob NoSQL database CRUD in an iOS native project — both Objective-C and Swift / SwiftUI / UIKit…
v0.1.0 · audit A · 4 stars
bmob-database-javascript SKILL.md skill
bmob/agent-skills · skills/bmob-database-javascript/SKILL.md · Use when implementing Bmob NoSQL database CRUD with the cross-platform hydrogen-js-sdk (3.0+ supports both Secret Key +…
v0.1.0 · audit A · 4 stars
bmob-database-swift SKILL.md skill
bmob/agent-skills · skills/bmob-database-swift/SKILL.md · Use when implementing Bmob NoSQL database CRUD or realtime data listening with the pure Swift BmobSwiftSDK for iOS 15+…
v0.2.1 · audit A · 4 stars
bmob-error-codes SKILL.md skill
bmob/agent-skills · skills/bmob-error-codes/SKILL.md · Use when the user sees a Bmob error response with a numeric code (e.g. 9015, 101, 105, 206, 211, 9013, 10017, 10076)…
v0.1.0 · audit A · 4 stars
bmob-mcp SKILL.md skill
bmob/agent-skills · skills/bmob-mcp/SKILL.md · Use when the user has the Bmob MCP server configured (http://mcp.bmobapp.com/mcp) and wants to perform LIVE operations…
v0.3.0 · audit A · 4 stars
bmob SKILL.md skill
bmob/agent-skills · skills/bmob/SKILL.md · Use whenever the user mentions Bmob backend cloud (Bmob, BmobApp, bmobapp.com, Bmob 后端云) for ANY task: design data…
v0.1.0 · audit A · 4 stars

Every file in bmob/agent-skills

Browse by kind, by grade A, or by owner.