Managing Your Provider Listing
Three Ways to Update
SDK
Recommended for apps
REST API
Direct HTTP calls
CI/CD
Auto-sync from repo
Via SDK
import { StudioClient } from '@yapture/studio-sdk';
const client = new StudioClient({
apiKey: process.env.YAPTURE_STUDIO_API_KEY,
});
await client.providers.update('your-slug', {
headline: 'New headline',
description: 'Updated description.',
specialties: ['DEVELOPMENT', 'DESIGN'],
websiteUrl: 'https://your-site.com',
}); Via REST API
curl -X PATCH https://studio-registry.example.invalid/provider/studio/listing \
-H "Authorization: Bearer ysk_prov_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"headline": "New headline",
"description": "Updated description."
}' Via CI/CD (GitHub Actions)
Maintain a yapture-studio.json in your repo. On push to main, a GitHub Action syncs it to Yapture Studio.
# .github/workflows/sync-listing.yml
name: Sync Yapture Studio Listing
on:
push:
branches: [main]
paths: ['yapture-studio.json']
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
curl -sf -X PATCH \
"https://studio-registry.example.invalid/provider/studio/listing" \
-H "Authorization: Bearer $${'} secrets.YAPTURE_STUDIO_API_KEY }}" \
-H "Content-Type: application/json" \
-d @yapture-studio.json Updatable Fields
| Field | Type | Notes |
|---|---|---|
| headline | string | Short tagline |
| description | string | Full description |
| specialties | string[] | From enum list |
| websiteUrl | string | Your site URL |
| logoUrl | string | Logo image URL |
| bannerUrl | string | Banner image URL |
Requires Admin Approval
- Changing your
nameorslug - Reactivating a suspended listing