WordPRess GSoC

Opened 2 years ago

Closed 2 years ago

Last modified 4 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)

#1 @bpetty
2 years ago

  • Milestone set to 2013 Final (1.0)

#2 @rmccue
2 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.

#3 @rmccue
2 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

#5 @rmccue
2 years ago

In 2276:

Enable setting post thumbnails on posts

See #272

#6 @rmccue
2 years ago

In 2278:

Check that we can read posts correctly

See #272

#7 @rmccue
2 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

#8 @rmccue
2 years ago

In 2282:

Override the links for media

See #272

#9 @rmccue
2 years ago

In 2283:

Send a 201 Created header with new attachments

See #272

#10 @rmccue
2 years ago

In 2289:

Only check the post parent if it exists

See #272

#11 @rmccue
2 years ago

In 2290:

Unattached attachments are assumed to be public

See #272

#12 @rmccue
2 years ago

In 2294:

Use the correct URI for media endpoints

See #272

#13 @rmccue
2 years ago

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

This is feature complete.

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

4 months ago

Note: See TracTickets for help on using tickets.