models-api
Sync Models to Cache
Changed onSynchronously fetches models from the external API and populates the cache. This ensures the cache is populated before returning. Primarily used for testing to avoid timing issues.
post/bodhi/v1/models/api/{id}/sync-models
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/models/api/{id}/sync-models
- Auth: one of:
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)
Path parameters
idstring required
Unique identifier for the API model alias
Response
Models synced to cache successfully
Changes
- info
added
subschema #2to the/response propertyallOflist for the response status - info
removed
subschema #1subschema #2subschema #3from the/response propertyoneOflist for the response status
- info
- info
added the required property
to the response with the status
- info