JustFlows

Management API / Design

Get a block pattern

GET/api/manage/v1/patterns/{source}/{id}

Read one pattern (source is site, theme or plugin).

Authorization

  • Authorizationheaderrequired

    Bearer jfk_…: an API key created in Admin → Settings → API.

  • Required capabilitycontent:read

    The key and its owner must both hold it. Content scopes on the key are applied to this request as well.

Path parameters

  • sourcestringrequired

    Where the pattern comes from: site, theme, or plugin.

  • idstringrequired

    The resource id.

Response

  • 200OK
  • 401Missing, unknown, revoked, expired, or out-of-scope key.
  • 403The key or its owner lacks the required capability or scope.
  • 404No such resource on this site.
  • 429Per-key or per-IP rate limit exceeded. Wait for the seconds in Retry-After.