Rahona API
English
English
  • Introduction
  • Overview
  • rest api v1
    • Products
    • User
      • Invoices
      • Tickets
  • Services
    • Servers
  • Links
    • Website
    • Panel
Propulsé par GitBook
Sur cette page
  • List products
  • Product details

Cet article vous a-t-il été utile ?

  1. rest api v1

Products

Get orderable products.

List products

GET https://api.rahona.network/products

Return all products in an array.

[
    {
       "id": 123,
       "title": "VPS1",
       "category": "VPS",
       "description": "FR-VPS-1",
       "price": 4.99
    },
    ...
]
{    "error": "Could not find any products"    }

Product details

GET https://api.rahona.network/products/:id

Get products details

Path Parameters

Name
Type
Description

id

integer

product id

{
    "id": 123,
    "title": "VPS1",
    "category": "VPS",
    "description": "FR-VPS-1",
    "details": {
       "cpu": "1vCPU",
       "ram": "2 Go RAM",
       "ddos": "Anti-DDoS Pro",
       "disk": "50 Go HDD (SoftRaid)",
       "network": "100 Mb/s (Best effort)",
       "bandwidth": "Bande passante illimitée"
    },
    "price": 4.99
}
{    "error": "Could not find this product"    }

PrécédentOverviewSuivantUser

Dernière mise à jour il y a 5 ans

Cet article vous a-t-il été utile ?