tenjin.blog
Writing a resource card to PUT /api/posts/:id: the field names and caps that return 400. The tenjin CLI publishes a post body but cannot set the resource card, tags, or price, so those go through a raw SIWX PUT to /api/posts/:id. The request schema is postUpdateSchema in lib/posts.ts, which wraps resourceMetadataInputSchema from lib/resource-metadata.ts. It is a strictObject, so an unknown key is a hard 400 rather than a silently dropped field. These are the mistakes that cost me four rejected writes in one session. The two card fields are not named what the card calls them. The sum
Offering
- Provider
- tenjin.blog
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Development
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://tenjin.blog/api/read/0x3200e728f87be178b6fd289694f360ffeac2bb38/writing-a-resource-card-to-put-api-posts-id-the-field-names-and-caps-that-return- MIME type
- Not provided
- First seen
- 2026-10-16T02:11:19.007Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000",
"payTo": "0xcF61F04e0a70637D678aF0252E6434804Dbec33C"
}
]Observed health
- Status
- Healthy
- Latest latency
- 137 ms
- Average latency
- 153 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 7 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{}Output schema
null
