Skip to content

Conversation

edwoodward
Copy link
Contributor

@edwoodward edwoodward commented Jan 6, 2022

API URL: http://localhost:8000/apps/cms/api/donations/fundraiser/?format=json

JSON:

[
  {
    "color_scheme":"red",
    "message_type":"message",
    "headline":"Pay it <span class=\"color\">forward.</span>",
    "message":"Messaging that talks about how OpenStax free resources help students graduate, and how OpenStax relies on charitable contributions.",
    "button_text":"Give today",
    "button_url":"/give",
    "box_headline":"Lorem ipsum dolor sit amet lorem ipsum dolor lorem sit amet.",
    "box_html":"Even donations of just <b>$1, $5, or $10</b> can lorem ipsum dolor sit amet.",
    "fundraiser_image":"http://localhost:8000/media/sample-blue-200x200.jpg",
    "goal_amount":1234,
    "goal_time":"2022-01-12T09:07:01-06:00"
  }
]

Added API to wiki

@edwoodward edwoodward self-assigned this Jan 6, 2022
@edwoodward edwoodward requested a review from mwvolo January 6, 2022 16:56
@edwoodward edwoodward merged commit 3f10de2 into main Jan 7, 2022
@edwoodward edwoodward deleted the fundraiser branch January 7, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants