Check Connection
/admin/connections/{connectionId}/checkPath Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/connections/string/check"{ "connection": { "id": "string", "kind": "hamilton", "name": "string", "baseUrl": "string", "status": "active", "manifest": { "protocolVersion": 1, "capabilities": [ "catalog.read" ], "constraints": { "maxBatch": 1, "hwidResetMinIntervalMinutes": 1, "trialMaxMinutes": 1, "rateLimitPerMinute": 1 } }, "products": [ { "id": "string", "name": "string", "durations": { "_tag": "Fixed", "minutes": [ 1 ] }, "trialMaxMinutes": 1, "status": { "key": "string", "label": "string", "tone": "success", "message": "string" } } ], "manifestFetchedAt": "string", "lastError": "string", "acceptsEvents": true, "eventsPath": "string", "createdAt": "string", "updatedAt": "string" }, "ok": true, "error": "string"}Update Tier PUT
Replaces the tier's name, discount and whole policy with these, for every reseller of the tier at once: a field left as it was must be sent as it was. A tier's policy says what its resellers may do: a support action not in allowedActions is refused; a quota limits an allowed action per UTC day, ISO week or calendar month, and an allowed action without a quota has no limit. Past an hwid_reset quota, a reset costs hwidResetOverageMinor, or is refused when that is null. A reseller's overrides replace single fields of its tier's policy (GetReseller).
Create Connection POST
Saves the connection and asks the provider for its manifest. A connection whose provider does not answer is saved as failing, so the seller can fix the credentials and check again.
