Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Redash v5 Quick Start Guide

You're reading from   Redash v5 Quick Start Guide Create and share interactive dashboards using Redash

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788996167
Length 224 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Alexander Leibzon Alexander Leibzon
Author Profile Icon Alexander Leibzon
Alexander Leibzon
Yael Leibzon Yael Leibzon
Author Profile Icon Yael Leibzon
Yael Leibzon
Arrow right icon
View More author details
Toc

API calls overview

The API allows HTTP GET, HTTP POST, and HTTP DELETE calls.

GET is used to retrieve data (JSON format), POST is used to add/update data (for example, adding a new alert subscriber), and DELETE is used to delete data (for example, deleting a user).

All of the GET API calls can be easily tested with a browser (just paste the full URL and you will receive the JSON output on your screen).

For POST and DELETE, you will have to use cURL, write your own code, or use the tools available for working with REST API calls.

The paths presented here are relative to the root path of Redash.

For example, if my Redash is located at myredash.mydomain.com and I'm interested in the API located at /api/alerts, then the full URL will be http://myewdash.mydomain.com/api/alerts.

Let's make an example API call to retrieve the query details of the query with id=7034. I will...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image