Skip to content

Commit

Permalink
Wordpress Media Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odiengineering committed Dec 6, 2024
1 parent 029a722 commit d8202c6
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
153 changes: 153 additions & 0 deletions wordpress/media/2024/12/cropped-hcd-case-study-cover.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"meta": {
"created_date": "2024-12-06T23:09:22",
"updated_date": "2024-12-06T23:09: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/2344",
"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": 2344,
"date": "2024-12-06T15:09:22",
"date_gmt": "2024-12-06T23:09:22",
"guid": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg",
"modified": "2024-12-06T15:09:22",
"modified_gmt": "2024-12-06T23:09:22",
"slug": "cropped-hcd-case-study-cover-jpg",
"status": "inherit",
"type": "attachment",
"link": "https://live-digital-ca-gov.pantheonsite.io/cropped-hcd-case-study-cover-jpg/",
"title": "cropped-hcd-case-study-cover.jpg",
"author": "Michael Sullivan",
"featured_media": 0,
"comment_status": "closed",
"ping_status": "closed",
"template": "",
"meta": [],
"categories": [
1
],
"class_list": [
"post-2344",
"attachment",
"type-attachment",
"status-inherit",
"hentry",
"category-uncategorized"
],
"description": "<p class=\"attachment\"><a href='https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"302\" src=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-576x302.jpg\" class=\"attachment-medium size-medium\" alt=\"A construction worker stands on the frame of a wall using a tool\" srcset=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-576x302.jpg 576w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-768x403.jpg 768w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg 835w\" sizes=\"(max-width: 576px) 100vw, 576px\" /></a></p>\n<p>https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg</p>\n",
"caption": "<p>https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg</p>\n",
"alt_text": "A construction worker stands on the frame of a wall using a tool",
"media_type": "image",
"mime_type": "image/jpeg",
"media_details": {
"width": 835,
"height": 438,
"file": "2024/12/cropped-hcd-case-study-cover.jpg",
"filesize": 112941,
"sizes": {
"medium": {
"file": "cropped-hcd-case-study-cover-576x302.jpg",
"width": 576,
"height": 302,
"filesize": 56796,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-576x302.jpg"
},
"thumbnail": {
"file": "cropped-hcd-case-study-cover-150x150.jpg",
"width": 150,
"height": 150,
"filesize": 18529,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-150x150.jpg"
},
"medium_large": {
"file": "cropped-hcd-case-study-cover-768x403.jpg",
"width": 768,
"height": 403,
"filesize": 86003,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-768x403.jpg"
},
"full": {
"file": "cropped-hcd-case-study-cover.jpg",
"width": 835,
"height": 438,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg"
}
},
"image_meta": {
"aperture": "0",
"credit": "",
"camera": "",
"caption": "",
"created_timestamp": "0",
"copyright": "",
"focal_length": "0",
"iso": "0",
"shutter_speed": "0",
"title": "",
"orientation": "1",
"keywords": []
}
},
"post": null,
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg",
"sizes": [
{
"type": "full",
"path": "2024/12/cropped-hcd-case-study-cover.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg",
"file": "cropped-hcd-case-study-cover.jpg",
"width": 835,
"height": 438,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover.jpg"
},
{
"type": "medium_large",
"path": "2024/12/cropped-hcd-case-study-cover-768x403.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-768x403.jpg",
"file": "cropped-hcd-case-study-cover-768x403.jpg",
"width": 768,
"height": 403,
"filesize": 86003,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-768x403.jpg"
},
{
"type": "medium",
"path": "2024/12/cropped-hcd-case-study-cover-576x302.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-576x302.jpg",
"file": "cropped-hcd-case-study-cover-576x302.jpg",
"width": 576,
"height": 302,
"filesize": 56796,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-576x302.jpg"
},
{
"type": "thumbnail",
"path": "2024/12/cropped-hcd-case-study-cover-150x150.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-150x150.jpg",
"file": "cropped-hcd-case-study-cover-150x150.jpg",
"width": 150,
"height": 150,
"filesize": 18529,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/12/cropped-hcd-case-study-cover-150x150.jpg"
}
],
"path": "2024/12/cropped-hcd-case-study-cover.jpg"
}
}

0 comments on commit d8202c6

Please sign in to comment.