Skip to content

Commit

Permalink
Wordpress Media Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odiengineering committed Sep 17, 2024
1 parent d98943c commit 553c4f0
Show file tree
Hide file tree
Showing 22 changed files with 568 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"meta": {
"created_date": "2024-09-17T23:27:22",
"updated_date": "2024-09-17T23:27:22",
"field_reference": "https://developer.wordpress.org/rest-api/reference/media/",
"api_version": "v2",
"api_url": "https://live-digital-ca-gov.pantheonsite.io/wp-json/wp/v2/",
"object_url": "https://live-digital-ca-gov.pantheonsite.io/wp-json/wp/v2/media/2211",
"process": {
"source_code": "https://github.com/cagov/wordpress-to-github",
"source_data": "https://live-digital-ca-gov.pantheonsite.io",
"deployment_target": "https://github.com/cagov/digital.ca.gov/tree/main"
},
"refresh_frequency": "as needed"
},
"data": {
"id": 2211,
"date": "2024-09-17T16:27:22",
"date_gmt": "2024-09-17T23:27:22",
"guid": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"modified": "2024-09-17T16:27:22",
"modified_gmt": "2024-09-17T23:27:22",
"slug": "it-collaboration-award-2022-scaled-e1665529034422",
"status": "inherit",
"type": "attachment",
"link": "https://live-digital-ca-gov.pantheonsite.io/it-collaboration-award-2022-scaled-e1665529034422/",
"title": "it-collaboration-award-2022-scaled-e1665529034422",
"author": "Jim Bumgardner",
"featured_media": 0,
"comment_status": "closed",
"ping_status": "closed",
"template": "",
"meta": [],
"categories": [
1
],
"description": "<p class=\"attachment\"><a href='https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp'><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"576\" src=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp 576w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp 1024w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-150x150.webp 150w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-768x768.webp 768w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp 1536w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp 1920w\" sizes=\"(max-width: 576px) 100vw, 576px\" /></a></p>\n",
"caption": "",
"alt_text": "",
"media_type": "image",
"mime_type": "image/webp",
"media_details": {
"width": 1920,
"height": 1920,
"file": "2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"filesize": 103258,
"sizes": {
"medium": {
"file": "it-collaboration-award-2022-scaled-e1665529034422-576x576.webp",
"width": 576,
"height": 576,
"filesize": 35030,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp"
},
"large": {
"file": "it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp",
"width": 1024,
"height": 1024,
"filesize": 71710,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp"
},
"thumbnail": {
"file": "it-collaboration-award-2022-scaled-e1665529034422-150x150.webp",
"width": 150,
"height": 150,
"filesize": 5876,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-150x150.webp"
},
"medium_large": {
"file": "it-collaboration-award-2022-scaled-e1665529034422-768x768.webp",
"width": 768,
"height": 768,
"filesize": 50358,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-768x768.webp"
},
"1536x1536": {
"file": "it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp",
"width": 1536,
"height": 1536,
"filesize": 115684,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp"
},
"full": {
"file": "it-collaboration-award-2022-scaled-e1665529034422.webp",
"width": 1920,
"height": 1920,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp"
}
},
"image_meta": {
"aperture": "0",
"credit": "",
"camera": "",
"caption": "",
"created_timestamp": "0",
"copyright": "",
"focal_length": "0",
"iso": "0",
"shutter_speed": "0",
"title": "",
"orientation": "0",
"keywords": []
}
},
"post": null,
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"sizes": [
{
"type": "full",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422.webp",
"width": 1920,
"height": 1920,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp"
},
{
"type": "1536x1536",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp",
"width": 1536,
"height": 1536,
"filesize": 115684,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1536x1536.webp"
},
{
"type": "large",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp",
"width": 1024,
"height": 1024,
"filesize": 71710,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-1024x1024.webp"
},
{
"type": "medium_large",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422-768x768.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-768x768.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422-768x768.webp",
"width": 768,
"height": 768,
"filesize": 50358,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-768x768.webp"
},
{
"type": "medium",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422-576x576.webp",
"width": 576,
"height": 576,
"filesize": 35030,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-576x576.webp"
},
{
"type": "thumbnail",
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422-150x150.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-150x150.webp",
"file": "it-collaboration-award-2022-scaled-e1665529034422-150x150.webp",
"width": 150,
"height": 150,
"filesize": 5876,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/it-collaboration-award-2022-scaled-e1665529034422-150x150.webp"
}
],
"path": "2024/09/it-collaboration-award-2022-scaled-e1665529034422.webp"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
202 changes: 202 additions & 0 deletions wordpress/media/2024/09/readme-feature-card.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
{
"meta": {
"created_date": "2024-09-17T23:27:20",
"updated_date": "2024-09-17T23:27:20",
"field_reference": "https://developer.wordpress.org/rest-api/reference/media/",
"api_version": "v2",
"api_url": "https://live-digital-ca-gov.pantheonsite.io/wp-json/wp/v2/",
"object_url": "https://live-digital-ca-gov.pantheonsite.io/wp-json/wp/v2/media/2210",
"process": {
"source_code": "https://github.com/cagov/wordpress-to-github",
"source_data": "https://live-digital-ca-gov.pantheonsite.io",
"deployment_target": "https://github.com/cagov/digital.ca.gov/tree/main"
},
"refresh_frequency": "as needed"
},
"data": {
"id": 2210,
"date": "2024-09-17T16:27:20",
"date_gmt": "2024-09-17T23:27:20",
"guid": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp",
"modified": "2024-09-17T16:27:20",
"modified_gmt": "2024-09-17T23:27:20",
"slug": "readme-feature-card",
"status": "inherit",
"type": "attachment",
"link": "https://live-digital-ca-gov.pantheonsite.io/readme-feature-card/",
"title": "readme-feature-card",
"author": "Jim Bumgardner",
"featured_media": 0,
"comment_status": "closed",
"ping_status": "closed",
"template": "",
"meta": [],
"categories": [
1
],
"description": "<p class=\"attachment\"><a href='https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp'><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"322\" src=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-576x322.webp\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-576x322.webp 576w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1024x572.webp 1024w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-768x429.webp 768w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1536x858.webp 1536w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-2048x1144.webp 2048w\" sizes=\"(max-width: 576px) 100vw, 576px\" /></a></p>\n",
"caption": "",
"alt_text": "",
"media_type": "image",
"mime_type": "image/webp",
"media_details": {
"width": 2256,
"height": 1260,
"file": "2024/09/readme-feature-card.webp",
"filesize": 51792,
"sizes": {
"medium": {
"file": "readme-feature-card-576x322.webp",
"width": 576,
"height": 322,
"filesize": 14534,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-576x322.webp"
},
"large": {
"file": "readme-feature-card-1024x572.webp",
"width": 1024,
"height": 572,
"filesize": 26038,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1024x572.webp"
},
"thumbnail": {
"file": "readme-feature-card-150x150.webp",
"width": 150,
"height": 150,
"filesize": 5924,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-150x150.webp"
},
"medium_large": {
"file": "readme-feature-card-768x429.webp",
"width": 768,
"height": 429,
"filesize": 20348,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-768x429.webp"
},
"1536x1536": {
"file": "readme-feature-card-1536x858.webp",
"width": 1536,
"height": 858,
"filesize": 41816,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1536x858.webp"
},
"2048x2048": {
"file": "readme-feature-card-2048x1144.webp",
"width": 2048,
"height": 1144,
"filesize": 57562,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-2048x1144.webp"
},
"full": {
"file": "readme-feature-card.webp",
"width": 2256,
"height": 1260,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp"
}
},
"image_meta": {
"aperture": "0",
"credit": "",
"camera": "",
"caption": "",
"created_timestamp": "0",
"copyright": "",
"focal_length": "0",
"iso": "0",
"shutter_speed": "0",
"title": "",
"orientation": "0",
"keywords": []
}
},
"post": null,
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp",
"sizes": [
{
"type": "full",
"path": "2024/09/readme-feature-card.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp",
"file": "readme-feature-card.webp",
"width": 2256,
"height": 1260,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card.webp"
},
{
"type": "2048x2048",
"path": "2024/09/readme-feature-card-2048x1144.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-2048x1144.webp",
"file": "readme-feature-card-2048x1144.webp",
"width": 2048,
"height": 1144,
"filesize": 57562,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-2048x1144.webp"
},
{
"type": "1536x1536",
"path": "2024/09/readme-feature-card-1536x858.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1536x858.webp",
"file": "readme-feature-card-1536x858.webp",
"width": 1536,
"height": 858,
"filesize": 41816,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1536x858.webp"
},
{
"type": "large",
"path": "2024/09/readme-feature-card-1024x572.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1024x572.webp",
"file": "readme-feature-card-1024x572.webp",
"width": 1024,
"height": 572,
"filesize": 26038,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-1024x572.webp"
},
{
"type": "medium_large",
"path": "2024/09/readme-feature-card-768x429.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-768x429.webp",
"file": "readme-feature-card-768x429.webp",
"width": 768,
"height": 429,
"filesize": 20348,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-768x429.webp"
},
{
"type": "medium",
"path": "2024/09/readme-feature-card-576x322.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-576x322.webp",
"file": "readme-feature-card-576x322.webp",
"width": 576,
"height": 322,
"filesize": 14534,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-576x322.webp"
},
{
"type": "thumbnail",
"path": "2024/09/readme-feature-card-150x150.webp",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-150x150.webp",
"file": "readme-feature-card-150x150.webp",
"width": 150,
"height": 150,
"filesize": 5924,
"mime_type": "image/webp",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/09/readme-feature-card-150x150.webp"
}
],
"path": "2024/09/readme-feature-card.webp"
}
}
Binary file added wordpress/media/2024/09/readme-feature-card.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 553c4f0

Please sign in to comment.