ContentGems Developer Documentation

Developer documentation home

API documentation

Website widget documentation

ContentGems web app

API info page

API Ping

Allows you to test if the API is operational at all.

Ping with text response

This is the simplest test possible to run against the ContentGems API. It doesn’t require authentication or special formats.

Example

Request:

GET https://contentgems.com/api/v1/ping

Response:

"pong (as text)"

Ping with JSON response

This test allows you to test the JSON response format.

Example

Request:

GET https://contentgems.com/api/v1/ping.json

Response:

{ "success": "pong" }