Forums
Revive REST API Updating key verify - Printable Version

+- Forums (https://www.forum.reviveadservermod.com)
+-- Forum: Top Questions (https://www.forum.reviveadservermod.com/Forum-Top-Questions)
+--- Forum: Custom Plugin Request For Revive Adserver (https://www.forum.reviveadservermod.com/Forum-Custom-Plugin-Request-For-Revive-Adserver)
+--- Thread: Revive REST API Updating key verify (/Thread-Revive-REST-API-Updating-key-verify)



Revive REST API Updating key verify - Kumar - 03-22-2019

How to Collect data JSON format with secure key verification


RE: Revive REST API Updating key verify - Azhiya - 03-22-2019

(03-22-2019, 12:30 PM)Kumar Wrote: How to Collect data JSON format with secure key verification

Rest API is a powerful tool that ensures your ads are consistent, specific, and fast. It's easy to get started using the Rest API because it is based on predictable, resource-oriented URLs. All API responses, including errors, return standard JSON. All errors are semantically mapped to HTTP response codes.


RE: Revive REST API Updating key verify - Jeeva - 03-22-2019

Whether to use a secret key when serving the response. there are using secure pages because check valid user


RE: Revive REST API Updating key verify - Azhiya - 03-22-2019

(03-22-2019, 12:46 PM)Jeeva Wrote: Whether to use a secret key when serving the response. there are using secure pages because check valid user

Rest API uses secret API keys to allow access to the API. It allows register existing API keys only allow access, it's must include secret API key in all your API requests. API requests without the secret API key will fail.

So we recommend buying this plug-in to achieve these features.

Product URL: https://www.reviveadservermod.com/rest-api-plugin-for-revive-adserver


RE: Revive REST API Updating key verify - Jeeva - 03-22-2019

which help HTTP response codes to indicate the status of result?


RE: Revive REST API Updating key verify - Azhiya - 03-22-2019

(03-22-2019, 12:48 PM)Jeeva Wrote: which help HTTP response codes to indicate the status of result?

Rest API uses conventional HTTP response codes to indicate the success or failure of a request, listed and described in the below.

200 OK — Everything worked as expected

400 Bad Request — The request was unacceptable, often due to missing a required parameter

401 Unauthorized — Invalid API key

402 Request Failed — parameters were valid but the request failed.

404 Not Found — The requested resource was not found


RE: Revive REST API Updating key verify - Jeeva - 03-22-2019

How to Filtering Response Data based on a unique field


RE: Revive REST API Updating key verify - Azhiya - 03-22-2019

(03-22-2019, 12:49 PM)Jeeva Wrote: How to Filtering Response Data based on a unique field

Sometimes you will need to reduce the amount of data returned from API endpoints. Either you want to keep the responses as lightweight as possible or you want to reduce the amount of the post-processing code on your end.

This is where the "fields" query parameter comes in. You may specify a comma separated list of resource field names to filter which fields appear in API responses. This optional parameters is available to all endpoints that create, retrieve, update or list resources.

The fields id will always appear in the response.


RE: Revive REST API Updating key verify - David Ryder - 05-24-2019

REST APIs use the Status codes part of an HTTP response message how should represent to inform clients of their request


RE: Revive REST API Updating key verify - Richard Smith - 05-24-2019

(05-24-2019, 10:56 AM)David Ryder Wrote: REST APIs use the Status codes part of an HTTP response message how should represent to inform clients of their request

HTTP defines forty standard status codes that can be used to convey the results of a client’s request. The status codes are Segregate into the five categories Informational, Success, Redirection, Client Error and Server Error