Assets

Sync a single storage object into Pics.io

Reconciles one storage object (by storageId) with Pics.io

post/images/sync

Request

  • Base URL
    https://api.pics.io
  • Auth
    HTTP bearer

Request body

storageIdstring required

Storage object id to reconcile with Pics.io. For S3 this is the object ARN relative to bucket root without s3:// prefix and without bucket name ("folder/subfolder/file-to-sync.jpg").

Response

Ok

action'created' | 'updated' | 'unchanged' | 'notFound' | 'skipped' required
assetobject

Present for created/updated/unchanged actions

reasonstring

Present for skipped actions (e.g. blacklistedExtension)

storageIdstring

Present for skipped actions

Changes

No recorded changes to this operation across all 1 revision of this API.