Skip to content

Commit

Permalink
Wordpress Media Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odiengineering committed Aug 16, 2024
1 parent d7c1b20 commit 59d56c5
Show file tree
Hide file tree
Showing 5 changed files with 145 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.
145 changes: 145 additions & 0 deletions wordpress/media/2024/08/cropped-dtsc-case-study-cover-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"meta": {
"created_date": "2024-08-16T16:54:40",
"updated_date": "2024-08-16T16:54:40",
"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/2094",
"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": 2094,
"date": "2024-08-16T09:54:40",
"date_gmt": "2024-08-16T16:54:40",
"guid": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg",
"modified": "2024-08-16T09:54:40",
"modified_gmt": "2024-08-16T16:54:40",
"slug": "cropped-dtsc-case-study-cover-2-jpg",
"status": "inherit",
"type": "attachment",
"link": "https://live-digital-ca-gov.pantheonsite.io/cropped-dtsc-case-study-cover-2-jpg/",
"title": "cropped-dtsc-case-study-cover-2.jpg",
"author": "Michael Sullivan",
"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/08/cropped-dtsc-case-study-cover-2.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"302\" src=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg\" class=\"attachment-medium size-medium\" alt=\"DTSC staff stand behind a table in a park. The table has displays and maps about a nearby project. 3 people are filling out forms at the table.\" srcset=\"https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg 576w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-768x403.jpg 768w, https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg 835w\" sizes=\"(max-width: 576px) 100vw, 576px\" /></a></p>\n<p>https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg</p>\n",
"caption": "<p>https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg</p>\n",
"alt_text": "DTSC staff stand behind a table in a park. The table has displays and maps about a nearby project. 3 people are filling out forms at the table.",
"media_type": "image",
"mime_type": "image/jpeg",
"media_details": {
"width": 835,
"height": 438,
"file": "2024/08/cropped-dtsc-case-study-cover-2.jpg",
"filesize": 112810,
"sizes": {
"medium": {
"file": "cropped-dtsc-case-study-cover-2-576x302.jpg",
"width": 576,
"height": 302,
"filesize": 55828,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg"
},
"thumbnail": {
"file": "cropped-dtsc-case-study-cover-2-150x150.jpg",
"width": 150,
"height": 150,
"filesize": 9235,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-150x150.jpg"
},
"medium_large": {
"file": "cropped-dtsc-case-study-cover-2-768x403.jpg",
"width": 768,
"height": 403,
"filesize": 91283,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-768x403.jpg"
},
"full": {
"file": "cropped-dtsc-case-study-cover-2.jpg",
"width": 835,
"height": 438,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg"
}
},
"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/08/cropped-dtsc-case-study-cover-2.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg",
"sizes": [
{
"type": "full",
"path": "2024/08/cropped-dtsc-case-study-cover-2.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg",
"file": "cropped-dtsc-case-study-cover-2.jpg",
"width": 835,
"height": 438,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2.jpg"
},
{
"type": "medium_large",
"path": "2024/08/cropped-dtsc-case-study-cover-2-768x403.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-768x403.jpg",
"file": "cropped-dtsc-case-study-cover-2-768x403.jpg",
"width": 768,
"height": 403,
"filesize": 91283,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-768x403.jpg"
},
{
"type": "medium",
"path": "2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg",
"file": "cropped-dtsc-case-study-cover-2-576x302.jpg",
"width": 576,
"height": 302,
"filesize": 55828,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-576x302.jpg"
},
{
"type": "thumbnail",
"path": "2024/08/cropped-dtsc-case-study-cover-2-150x150.jpg",
"wordpress_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-150x150.jpg",
"file": "cropped-dtsc-case-study-cover-2-150x150.jpg",
"width": 150,
"height": 150,
"filesize": 9235,
"mime_type": "image/jpeg",
"source_url": "https://live-digital-ca-gov.pantheonsite.io/wp-content/uploads/2024/08/cropped-dtsc-case-study-cover-2-150x150.jpg"
}
],
"path": "2024/08/cropped-dtsc-case-study-cover-2.jpg"
}
}

0 comments on commit 59d56c5

Please sign in to comment.