コンテンツへスキップ
APIドキュメント

レストランメニュー

APIからレストランメニューをクエリおよび管理します。

認証
すべてのリクエストは、管理APIキーに一致するBearerトークンをAuthorizationヘッダーで送信する必要があります。 APIキーを取得.
APIドキュメント

エンドポイント
GET https://rqrcode.com/api/restaurant-menus/
curl --request GET \
--url 'https://rqrcode.com/api/restaurant-menus/' \
--header 'Authorization: Bearer {api_key}'
パラメータ
パラメータ 詳細 説明
page
任意 ui.admin.api_docs.common.types.整数
結果を取得したいページ番号。デフォルトは1です。
results_per_page
任意 ui.admin.api_docs.common.types.整数
1ページあたりに取得したい結果の数。許可される値は10, 25, 50, 100, 250, 500, 1000です。デフォルトは25です。
レスポンス例
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "name": "ランチメニュー",
            "description": "昼食メニュー",
            "datetime": "2026-04-20 07:55:48"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/restaurant-menus?page=1",
        "last": "https://rqrcode.com/api/restaurant-menus?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/restaurant-menus?page=1"
    }
}

エンドポイント
GET https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}
curl --request GET \
--url 'https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}' \
--header 'Authorization: Bearer {api_key}'
パラメータ
追加パラメータはありません。
レスポンス例
{
    "data": {
        "id": 1,
        "project_id": null,
        "name": "ランチメニュー",
        "description": "昼食メニュー",
        "datetime": "2026-04-20 07:55:48"
    }
}

エンドポイント
POST https://rqrcode.com/api/restaurant-menus
curl --request POST \
--url 'https://rqrcode.com/api/restaurant-menus' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=ディナーメニュー'
パラメータ
パラメータ 詳細 説明
name
必須 ui.admin.api_docs.common.types.文字列
説明がありません
description
任意 ui.admin.api_docs.common.types.文字列
説明がありません
project_id
任意 ui.admin.api_docs.common.types.整数
説明がありません
レスポンス例
{
    "data": {
        "id": 1
    }
}

エンドポイント
POST https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}
curl --request POST \
--url 'https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=ディナーメニュー'
パラメータ
パラメータ 詳細 説明
name
任意 ui.admin.api_docs.common.types.文字列
説明がありません
description
任意 ui.admin.api_docs.common.types.文字列
説明がありません
project_id
任意 ui.admin.api_docs.common.types.整数
説明がありません
レスポンス例
{
    "data": {
        "id": 1
    }
}

エンドポイント
DELETE https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}
curl --request DELETE \
--url 'https://rqrcode.com/api/restaurant-menus/{restaurant_menu_id}' \
--header 'Authorization: Bearer {api_key}'
パラメータ
追加パラメータはありません。
レスポンス例
成功時は空の200レスポンス本文。