https://example.com/api/v1/app
-
Create Nudge
- URL:
/nudges
- Method: POST
- Payload:
{ "title": "string", "image_url": "string", "scheduled_time": "datetime", "description": "string", "icon": "string", "invitation": "string" }
- Description: Creates a new nudge with the provided details.
- URL:
-
Get Nudge by ID
- URL:
/nudges/{nudge_id}
- Method: GET
- Description: Retrieves details of a specific nudge identified by its ID.
- URL:
-
Update Nudge
- URL:
/nudges/{nudge_id}
- Method: PUT
- Payload:
{ "title": "string", "image_url": "string", "scheduled_time": "datetime", "description": "string", "icon": "string", "invitation": "string" }
- Description: Updates details of a specific nudge identified by its ID.
- URL:
-
Delete Nudge
- URL:
/nudges/{nudge_id}
- Method: DELETE
- Description: Deletes a specific nudge identified by its ID.
- URL:
- Endpoint:
/nudges
- Method: POST
- Payload: JSON object containing nudge details.
- Description: Creates a new nudge with the provided details.
- Endpoint:
/nudges/{nudge_id}
- Method: GET
- Description: Retrieves details of a specific nudge identified by its ID.
- Endpoint:
/nudges/{nudge_id}
- Method: PUT
- Payload: JSON object containing updated nudge details.
- Description: Updates details of a specific nudge identified by its ID.
- Endpoint:
/nudges/{nudge_id}
- Method: DELETE
- Description: Deletes a specific nudge identified by its ID.