diff --git a/additional/provider.md b/additional/provider.md index 6d0bf98..7d0091f 100644 --- a/additional/provider.md +++ b/additional/provider.md @@ -18,4 +18,7 @@ description: A page give an information about providers. ### Maintenance Provider -none. +* Tokup - `tokup` + * Reason: `Tokup site returned 'Oops! Something went wrong!'` +* DLTik - `dltik` + * Reason: I think, we need to create an active session page first to do a request. diff --git a/getting-started/how-to-use.md b/getting-started/how-to-use.md index d011820..03c109c 100644 --- a/getting-started/how-to-use.md +++ b/getting-started/how-to-use.md @@ -14,7 +14,7 @@ Great! You're ready to use. ### :satellite: Endpoints -Currently, we only have 4 endpoints in the TikTok-DL Rest API v1.0.4. +Currently, we only have 3 endpoints in the TikTok-DL Rest API v1.0.4. {% swagger method="get" path="api/download" baseUrl="https://tdl.besecure.eu.org/" summary="Getting TikTok's video download urls with search params." %} {% swagger-description %} @@ -55,14 +55,6 @@ Rotate provider when an error is returned. ``` {% endswagger-response %} -{% swagger-response status="200: OK" description="Internal error (soon, i will change it to 500 http status code)" %} -```javascript -{ - "error": "sometimes it will return an error about internal program, like 'Cannot read property '0' of undefined' and others" -} -``` -{% endswagger-response %} - {% swagger-response status="400: Bad Request" description="Something was wrong with your request payload." %} ```javascript { @@ -116,14 +108,6 @@ Rotate provider when an error is returned. ``` {% endswagger-response %} -{% swagger-response status="200: OK" description="Internal error (soon, i will change it to 500 http status code)" %} -```javascript -{ - "error": "sometimes it will return an error about internal program, like 'Cannot read property '0' of undefined' and others" -} -``` -{% endswagger-response %} - {% swagger-response status="400: Bad Request" description="Something was wrong with your request payload." %} ```javascript { @@ -158,7 +142,7 @@ Rotate provider when an error is returned. {% endswagger-description %} -{% swagger-response status="200: OK" description="Maintenance response" %} +{% swagger-response status="200: OK" description="Provider list." %} ```javascript [ { @@ -166,10 +150,15 @@ Rotate provider when an error is returned. "url": "https://site.com", "maintenance": { "reason": "Maintenance reason" - } + }, + "params": [], }, { "name": "TikTok Provider name", - "url": "https://site.com" + "url": "https://site.com", + "params": [{ + "name": "something", + "type": "string" + }] } ] ```