date |
The date the object was published, in the site’s timezone. |
date_gmt |
The date the object was published, as GMT. |
slug |
An alphanumeric identifier for the object unique to its type. |
status |
A named status for the object.
One of: |
title |
The title for the object. |
author |
The ID for the author of the object. |
comment_status |
Whether or not comments are open on the object.
One of: |
ping_status |
Whether or not the object can be pinged.
One of: |
meta |
Meta fields. |
template |
The theme file to use to display the object. |
alt_text |
Alternative text to display when attachment is not displayed. |
caption |
The attachment caption. |
description |
The attachment description. |
post |
The ID for the associated post of the attachment. |
POST /wpas-api/v1/attachments