Paragraphs

Update paragraph

Update Paragraph

patch/draft_trips/{trip_uuid}/paragraphs/{id}

Request

  • Base URL
    https://api.wetravel.com/v2
  • URL
    https://api.wetravel.com/v2/draft_trips/{trip_uuid}/paragraphs/{id}
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

trip_uuidstring required
idstring required

ID of the paragraph.yml

Request body

Example request

{
  "data": {
    "title": "About this trip",
    "text": "This trip is going to be epic"
  }
}

Response

Successfully updated

Example response

{
  "data": {
    "id": 66,
    "trip_uuid": "105544110",
    "title": "About this trip",
    "text": "This trip is going to be epic",
    "created_at": 122234
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.