Question

Has the images v2 API changed overnight?

Posted October 17, 2014 1.4k views

Hi there,

We are seeing format difference in the image API response.

Two days ago:

{"images":[{"id":6704258,"name":"CoreOS 459.0.0 (alpha)","distribution":"CoreOS","slug":"coreos-alpha","public":true,"regions":["sfo1","nyc2","ams2","sgp1","lon1","nyc3","ams3"],"created_at":"2014-10-09T14:57:29Z"},

Today:

{"images":[{"images":{"id":6859908,"is_global":false,"user_id":73694,"is_public":true,"name":"CoreOS (alpha) 471.1.0","filename":"coreos-alpha-471.1.0-201410152115.raw.sparse.gz","region_id":8,"operating_system_id":null,"created_at":"2014-10-16T01:36:45Z","updated_at":"2014-10-16T14:46:19Z","droplet_id":null,"description":null,"distribution_id":15,"image_type_id":null,"is_deleted":false,"filesize":205931481,"md5sum":"b05d3d74b64d141c0ee1602a5a22bf49","kernel":null,"initrd":null,"cmdline":null,"maxsize":null,"is_x32":null,"is_gui":null,"actualsize":null,"is_snapshot":true,"is_backup":null,"is_application":null,"is_base":true,"is_iso":null,"is_archive":null,"is_temporary":null,"delete_at":null,"error_count":null,"is_disk_resizable":null,"image_kernel_id":null,"is_do":true,"is_locked":null,"minsize":null,"inodes_used":null,"glacier_archive_id":"fi0OPS_4u_V5JzhdWXyT8bgaMlQbxHV_RSVaTzhEoB7mPhqizWIMPzuHw0oqNMi1ZhUir0DGNQWnXPaoZ4JB5yHwgBmc3CfHYL27XRboc5WZ4YXD_uhBQUX12mPt1cjADch_3o4tgw","customization_id":4}},

We didn’t see any documentation updates for this, so can you please clarify the changes? For example, the new ids for regions and distributions that don’t seem to be possible to correlate with the relevant response objects (e.g. /regions does not return ids).

Have any other API calls changed in any way? Please advise.

Thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi!

Thanks for bring this to our attention. This was a bug that was introduced yesterday. A fix was deployed about an hour ago.

Submit an Answer