Ruleset not found

What the RulesetNotFound error (404 Not Found) means, the fields it carries, and the endpoints that return it.

The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/ruleset-not-found. See Errors and status codes for the shape every error shares.

Ruleset <id> not found

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
idstring

Example #

json
{
  "detail": "Ruleset <id> not found",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/ruleset-not-found",
  "status": 404,
  "title": "Ruleset not found"
}

Returned by #

  • DELETE /v2/rulesets/{id}
  • GET /v2/rulesets/{id}
  • GET /v2/rulesets/{rulesetId}/rules
  • GET /v2/rulesets/{rulesetId}/rules/locales
  • PATCH /v2/rulesets/{id}
  • POST /v2/rulesets/{rulesetId}/rules
  • PUT /v2/service-api-keys/{id}/content-scope