Difference between revisions of "Google"
From Advice Local Wiki
(Created page with "== Delete a Client Google Image == Deletes a client and subsequently disables any active products associated with the client. === API Endpoint === <syntaxhighlight lang="html"...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
=== API Endpoint === | === API Endpoint === | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
− | http://p.lssdev.com/legacyclientimages/{client_id} | + | http://p.lssdev.com/legacyclientimages/google/{client_id}/{image_id} |
</syntaxhighlight> | </syntaxhighlight> | ||
=== Example Request === | === Example Request === | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | DELETE /legacyclients/3201926/google/ | + | DELETE /legacyclients/google/3201926/87891723141223213241232134 HTTP/1.1 |
+ | Host: p.lssdev.com | ||
+ | x-api-token: YOUR_API_KEY | ||
+ | Content-Type: application/json | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | === Example Response === | ||
+ | <syntaxhighlight lang="json"> | ||
+ | { | ||
+ | "status": 200, | ||
+ | "success": true, | ||
+ | "error": null, | ||
+ | } | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | == Add a Client Google Image == | ||
+ | Deletes a client and subsequently disables any active products associated with the client. | ||
+ | === API Endpoint === | ||
+ | <syntaxhighlight lang="html"> | ||
+ | http://p.lssdev.com/legacyclientimages/google/{client_id} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | === Example Request === | ||
+ | <syntaxhighlight lang="php"> | ||
+ | POST /legacyclients/google/3201926HTTP/1.1 | ||
+ | |||
+ | { image_name } | ||
+ | |||
Host: p.lssdev.com | Host: p.lssdev.com | ||
x-api-token: YOUR_API_KEY | x-api-token: YOUR_API_KEY |
Latest revision as of 00:06, 17 June 2025
Contents
Delete a Client Google Image
Deletes a client and subsequently disables any active products associated with the client.
API Endpoint
http://p.lssdev.com/legacyclientimages/google/{client_id}/{image_id}
Example Request
DELETE /legacyclients/google/3201926/87891723141223213241232134 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"status": 200,
"success": true,
"error": null,
}
Add a Client Google Image
Deletes a client and subsequently disables any active products associated with the client.
API Endpoint
http://p.lssdev.com/legacyclientimages/google/{client_id}
Example Request
POST /legacyclients/google/3201926HTTP/1.1
{ image_name }
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"status": 200,
"success": true,
"error": null,
}