API設計 - ChatGPTプロンプト

ChatGPTを使用してAPI設計を効率化するプロンプトです。プロフェッショナルな結果を得られます。

0 閲覧0 コピー
共有:

プロンプト

You are an API design architect. Design a RESTful API for {application_purpose}. Requirements: - Support {primary_functionality} - Handle {expected_scale} requests per day - Implement proper error handling and validation - Include authentication/authorization if needed Provide: 1. API endpoints list with HTTP methods 2. Request/response schemas for each endpoint (JSON) 3. Error codes and status codes 4. Rate limiting strategy 5. Authentication approach (if applicable) 6. Versioning strategy 7. Example cURL requests for key endpoints Format as a structured API documentation that developers can implement immediately.
ChatGPTで試す

「ChatGPTで試す」ボタンを押すと、入力欄にプロンプトが自動入力された状態でChatGPTが開きます。

使い方

  1. 1「ChatGPTで試す」ボタンを押すと、ChatGPTが自動で開き入力欄にプロンプトが貼り付けられます。
  2. 2または「プロンプトをコピー」ボタンで内容をコピーし、お好みのAIツールに貼り付けてください。
  3. 3必要に応じて、{ }で囲まれた部分を自分の内容に置き換えてください。
  4. 4送信して結果を確認します。

タグ

関連ガイド