WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 7 years ago

#11303 closed task (blessed) (maybelater)

XMLRPC (and APP) APIs should expose all Post/Page/Comment management functionality

Reported by: westi Owned by: westi
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: XML-RPC Keywords: close
Focuses: Cc:

Description

In #11243 we hid the trash status from wp.getPages() we also hide it for pages (and comments I guess).

Really these apis should be fully featured to allow clients to support the new things the api does.

We should revert the change made for trash for 2.9 and promote the fact that clients should be graceful when using these apis so as to cope when we introduce new features.

We also need to review the need for extra apis to allow trashing/untrashing of posts/pages/comments etc.

Change History (8)

#1 in reply to: ↑ description @caesarsgrunt
11 years ago

Replying to westi:

In #11243 we hid the trash status from wp.getPages() we also hide it for pages (and comments I guess).

For reference, this refers to changeset [12303].

#2 @dd32
11 years ago

westi: are you still interested in this? Or is it to be punted out to 3.1?

#3 @nacin
11 years ago

I guess this would need to be handled in 3.0 in some way, as we now have auto-drafts as well.

#4 @nacin
11 years ago

  • Status changed from new to assigned

#5 @nacin
11 years ago

  • Keywords close added

sivel, ryan, josephscott and I had a conversation about this today. Joseph's argument was that apps should first check for a list of all available stati before then calling getPages(). I believe the result of the conversation was that this ticket should be closed.

#6 @westi
11 years ago

  • Milestone changed from 3.0 to Future Release

I'm not convinced we should close this ticket.

I think we need to review in the future how remote publishing clients can access the information about post types / statuses to be able to automatically generate a relevant ui.

Moving to Future.

#7 @westi
10 years ago

  • Summary changed from XMLRPC (and APP) APIs should be as fully feature as possible to XMLRPC (and APP) APIs should expose all Post/Page/Comment management functionality

#8 @nacin
7 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from assigned to closed

Seems like it is time to again close this.

Note: See TracTickets for help on using tickets.