Test a provider login
POST
/streams/providers/test/write Change: creates or edits. Scopes
Asks the provider about a login without saving anything: its status, connections and expiry, then how many channels, movies and TV shows it lists. Send id to test with a saved provider's password. Panel operators only.
Body
idintegerkindstringDefault:
"xtream"urlstringrequiredusernamestringpasswordstring
Response
200 OK
statusstringrequiredunknown- Not checked yetok- OKwrong_login- Wrong loginexpired- Expireddisabled- Disabled by providerunreachable- Unreachableoff- Off
One of:
"unknown""ok""wrong_login""expired""disabled""unreachable""off"status_detailstringrequiredconnectionsobjectrequiredactiveintegerrequiredcan be nullmaxintegerrequiredcan be null
expires_atstring (date-time)requiredcan be nullexpires_knownbooleanrequiredWhether
expires_atis what the provider said (null: never ends).is_trialbooleanrequiredcountsobjectrequiredcan be nullHow many channels, movies and TV shows it lists.
liveintegerrequiredChannels.
moviesintegerrequiredseriesintegerrequiredTV shows.
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.