Podkrepi.bg Development
DocsWebsiteGitHub
latest
latest
  • Introduction
  • Dev Guidelines
    • Branching strategy
    • Pull requests guidelines
    • Starting a task
    • Definition of done
    • Recognising Contributions
  • Architecture
  • Backend
  • Frontend
    • Guidelines
      • React Guidelines
      • Translations (i18n)
      • Forms
    • Environments
      • .env
      • Local Development
      • Production
  • Infrastructure
    • Deployment to Kubernetes
  • REST API
    • Authentication
    • Endpoints
      • Healthcheck
      • Contact Request
      • Support Request
      • Campaigns
  • GRAPHQL
    • Schema
Powered by GitBook
On this page
  • Get Campaigns
  • Get Campaign by ID

Was this helpful?

Export as PDF
  1. REST API
  2. Endpoints

Campaigns

Get Campaigns

GET https://api.podkrepi.bg/v1/campaigns

This endpoint allows you to get campaigns.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

[
    {
        "id": "5572f770-a434-4ed8-9a91-d94474d26c8e"
        "name": "Campaign name"
    },
    {
        "id": "97692474-2482-460f-86ec-2b84954f989b"
        "name": "Campaign name"
    }
]
{
    "error": "Not Found"
}

Get Campaign by ID

GET https://api.podkrepi.bg/v1/campaigns/:id

This endpoint allows you to get campaigns.

Path Parameters

Name
Type
Description

id

string

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

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{
    "id": "5572f770-a434-4ed8-9a91-d94474d26c8e"
    "name": "Campaign name"
}
{
    "error": "Not Found"
}

PreviousSupport RequestNextSchema

Last updated 4 years ago

Was this helpful?