📝
PetGuru_Gitbook
  • PetGuru API Document
  • User
    • POST User Signup
    • POST User Login
    • POST User Logout
    • GET User Info
    • GET me
    • Put me
    • POST User Mentor Auth
  • Pet
    • POST Pet Register
    • GET Pet Info
    • PUT Pet Edit
    • DELETE Pet Delete
  • Missing Board
    • GET Missing Posts
    • POST Missing Posts
    • PUT Missing Posts
    • DELETE Missing Posts
    • GET Missing Comments
    • POST Missing Comments
    • PUT Missing Comments
    • DELETE Missing Comments
  • Q&A Board
    • GET QNA Question
    • POST QNA Question
    • PUT QNA Question
    • DELETE QNA Question
    • GET QNA Answer
    • POST QNA Answer
    • PUT QNA Answer
    • DELETE QNA Answer
    • GET QNA Thread
    • POST QNA Thread
    • PUT QNA Thread
    • DELETE QNA Thread
Powered by GitBook
On this page

Was this helpful?

PetGuru API Document

Get Cakes

GET https://api.cakes.com/v1/cakes/:id

This endpoint allows you to get free cakes.

Path Parameters

Name
Type
Description

id

string

ID of the cake to get, for free of course.

Query Parameters

Name
Type
Description

recipe

string

The API will do its best to find a cake matching the provided recipe.

gluten

boolean

Whether the cake should be gluten-free or not.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
{    "message": "Ain't no cake like that."}

NextUser

Last updated 4 years ago

Was this helpful?