Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/includes/authenticated_api/_partnerships.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Partnerships are other organisations you collaborate with using the platform.
"created_at": "2015-12-02T01:43:17Z",
"updated_at": "2015-12-02T01:43:17Z",
"url": "https://demo.controlshiftlabs.com/partnerships/fight-fascism",
"image": "https://cdn.example.com/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODI2Mzg5LCJ--f17a/OiJ2YXJpYXRpb24ifX0=--924a23c065f/a-little-teapot.png"
"image": "https://images.controlshift.app/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODI2Mzg5LCJ--f17a/OiJ2YXJpYXRpb24ifX0=--924a23c065f/a-little-teapot.png"
},
{
"id": 107,
Expand Down Expand Up @@ -63,7 +63,7 @@ Get a paginated list of all partnerships.
"created_at": "2015-12-02T01:43:17Z",
"updated_at": "2015-12-02T01:43:17Z",
"url": "https://demo.controlshiftlabs.com/partnerships/fight-fascism",
"image": "https://cdn.example.com/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODI2Mzg5LCJ--f17a/OiJ2YXJpYXRpb24ifX0=--924a23c065f/a-little-teapot.png"
"image": "https://images.controlshift.app/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODI2Mzg5LCJ--f17a/OiJ2YXJpYXRpb24ifX0=--924a23c065f/a-little-teapot.png"
}
}
```
Expand Down
10 changes: 5 additions & 5 deletions source/includes/authenticated_api/_petitions.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ Petition are pieces of content that can be signed by members.
"ended_story": "This was an overwhelming success!",
"image": {
"urls": {
"open_graph": "http://cdn.example.com/petitions/images/25/open_graph/a-little-teapot.png?1516647704",
"horizontal": "http://cdn.example.com/petitions/images/25/horizontal/a-little-teapot.png?1516647704",
"hero": "http://cdn.example.com/petitions/images/25/hero/a-little-teapot.png?1516647704",
"original": "http://cdn.example.com/petitions/images/25/original/a-little-teapot.png?1516647704",
"form": "http://cdn.example.com/petitions/images/25/form/a-little-teapot.png?1516647704"
"original": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/a-little-teapot.png",
"landscape": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/a-little-teapot.png",
"small_landscape": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/a-little-teapot.png",
"social": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/a-little-teapot.png"
},
"caption": "This picture was taken by a human, not generated by AI.",
"description": "Picture of a small teapot with flowers on it and money tucked under the lid"
},
"public_signature_count": 234,
Expand Down
32 changes: 16 additions & 16 deletions source/includes/json/_category_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ $(document).ready(function(){
"ended": false,
"created_at": "2015-12-02T01:43:17Z",
"updated_at": "2017-05-07T15:38:39Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/form/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/horizontal/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/open_graph/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"target": {
Expand Down Expand Up @@ -92,23 +92,23 @@ $(document).ready(function(){
"locale": "en",
"created_at": "2014-10-02T01:43:17Z",
"updated_at": "2018-05-07T15:38:39Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/form/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/horizontal/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/open_graph/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"target": {
Expand Down
33 changes: 16 additions & 17 deletions source/includes/json/_featured_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ $(document).ready(function(){
"ended": false,
"created_at": "2014-10-02T01:43:17Z",
"updated_at": "2018-05-07T15:38:39Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/form/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/horizontal/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/open_graph/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"target": {
Expand Down Expand Up @@ -104,24 +104,23 @@ $(document).ready(function(){
"ended": false,
"created_at": "2016-08-12T18:08:32Z",
"updated_at": "2016-09-14T12:43:45Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/167492/original/IMG_1854.JPG?1472046912",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
]
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/167492/original/IMG_1854.JPG?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/167492/form/IMG_1854.JPG?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/167492/horizontal/IMG_1854.JPG?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/167492/open_graph/IMG_1854.JPG?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"location": {
Expand Down
32 changes: 16 additions & 16 deletions source/includes/json/_partnership_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ $(document).ready(function(){
"ended": false,
"created_at": "2015-12-02T01:43:17Z",
"updated_at": "2017-05-07T15:38:39Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/form/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/horizontal/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/open_graph/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"target": {
Expand Down Expand Up @@ -94,23 +94,23 @@ $(document).ready(function(){
"ended": false,
"created_at": "2014-10-02T01:43:17Z",
"updated_at": "2018-05-07T15:38:39Z",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"additional_image_sizes_url": [
{
"style": "original",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "form",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/form/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "small_landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--qrstuv/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "horizontal",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/horizontal/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "landscape",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
},
{
"style": "open_graph",
"url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/open_graph/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741"
"style": "social",
"url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--abcde/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg"
}
],
"target": {
Expand Down
4 changes: 2 additions & 2 deletions source/includes/json/_single_petition.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ $(document).ready(function(){
"goal": 500,
"effort": null,
"partnership": null,
"resized_image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/hero/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"image_url": "https://d8s293fyljwh4.cloudfront.net/petitions/images/92283/original/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg?1473884741",
"resized_image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--12345/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"image_url": "https://images.controlshift.app/rails/active_storage/representations/proxy/abc123defg--hijklmnop/2016-06-20-1466458252-1098096-ywllowbrickroad.jpg",
"creator_name": "Kristyn Arrighi",
"signature_count": 223,
"location": {
Expand Down
Loading