From 24eb472d20e76abe469269714c24234cf340796b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 13 Mar 2017 21:03:25 +0200 Subject: [PATCH] Working on docs --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index bc9d16d587dd..50d5cff165dd 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -14,11 +14,11 @@ Reading Data Here’s an example of reading the list of clients using cURL from the command line. -``curl -X GET ninja.dev/api/v1/clients -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest"`` + ``curl -X GET ninja.dev/api/v1/clients -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest"`` For invoices, quotes, tasks and payments simply change the object type. ie, -``curl -X GET ninja.dev/api/v1/invoices -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest"`` + curl -X GET ninja.dev/api/v1/invoices -H "X-Ninja-Token: TOKEN" -H "X-Requested-With: XMLHttpRequest" To load a single record specify the Id in the URL. Note: you can add ?invoice_number=0001 to search invoices by invoice number.