WordPRess GSoC Trac

Opened 2 years ago

Closed 2 years ago

Last modified 2 months ago

#272 closed enhancement (fixed)

Create media and attachment endpoints

Reported by: rmccue Owned by: rmccue
Milestone: 2013 Final (1.0) Priority: major
Component: JSON REST API Keywords:


Tracking ticket for week 12.

Change History (14)

comment:1 @bpetty2 years ago

  • Milestone set to 2013 Final (1.0)

comment:2 @rmccue2 years ago

In 2268:

First pass at media

See #272. This has been a long time coming, and it's finally at a point where
I'm happy to push it out. Good luck.

comment:3 @rmccue2 years ago

In 2272:

Allow passing Content-MD5 headers

This is only global and cannot be attached to the part in a multipart request.
I do love PHP some times.

See #272

comment:5 @rmccue2 years ago

In 2276:

Enable setting post thumbnails on posts

See #272

comment:6 @rmccue2 years ago

In 2278:

Check that we can read posts correctly

See #272

comment:7 @rmccue2 years ago

In 2279:

Show attachments with the inherit status

This is kind of hacky, but means we don't have to override the whole getPosts()
method from the posts endpoint instead.

See #272

comment:8 @rmccue2 years ago

In 2282:

Override the links for media

See #272

comment:9 @rmccue2 years ago

In 2283:

Send a 201 Created header with new attachments

See #272

comment:10 @rmccue2 years ago

In 2289:

Only check the post parent if it exists

See #272

comment:11 @rmccue2 years ago

In 2290:

Unattached attachments are assumed to be public

See #272

comment:12 @rmccue2 years ago

In 2294:

Use the correct URI for media endpoints

See #272

comment:13 @rmccue2 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This is feature complete.

comment:14 @slackbot2 months ago

This ticket was mentioned in Slack in #core-restapi by rmccue. View the logs.

Note: See TracTickets for help on using tickets.