Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PressForward API outline #748

Open
AramZS opened this issue May 4, 2016 · 0 comments
Open

PressForward API outline #748

AramZS opened this issue May 4, 2016 · 0 comments

Comments

@AramZS
Copy link
Member

AramZS commented May 4, 2016

PressForward API Architecture

Note: Where "+" is indicated are additional API endpoints proposed to add to existing WordPress Endpoints

Note: "" indicates authentication required (optional)*

(current Zotero API read requests and sample responses, for reference)

Read

  • pf/v1/item (Item endpoint data should also be added to PF driven Posts in the WPAPI)
    • /[id]/
      • Title
      • Feed ID
      • Item Date
      • Item Author
      • Item Content
      • Item Link
      • Item Feat Img
      • Item ID
      • Item Retrieved
      • Source Repeats
      • Readable Status
      • Content
      • Item Tags
      • Wordcount
      • Tags
      • Folders
      • Feed ID
    • /[id]
    • /[id]/relationships (count)
    • */[id]/relationships (full data)
    • */[id]/relationships/[user_id]
    • */[id]/comment
    • */[id]/comment/[comment_id]
    • */[id]/comment/edit/
    • /folder/[folder]
  • pf/v1/nominated
    • Items+
    • Nomination Count
    • *Submitted By
    • *Nominating Users
    • Item_ID
  • pf/v1/published || +posts
    • Nominated+
    • Nominated_id
    • /
  • pf/v1/feed
    • /[id]/
      • Id
      • Title
      • Description
      • Type
      • feedURL
      • htmlURL
      • Module_added (string)
      • Status
      • Thumbnail
      • Parent Feed
      • *User_added
    • /[id]/alerts
      • List of alerts
    • /alerts
      • (All Feed Alerts)
      • Alert text
      • ID of Feed
      • ID of Alert
    • OPML URL
    • All PF Items Feed
  • pf/v1/folders
    • ID
    • Title
    • Description
    • Slug
    • Parent
    • OPML URL
    • ...
  • pf/v1/users || +Users/pf/
    • Nomination Count
    • /relationships (count)
    • */relationships (detailed objects)
  • pf/v1/alerts
    • Alert text
    • Alert ID
    • Alerted Object ID
      Write
  • pf/v1/item (Item endpoint data should also be added to PF driven Posts in the WPAPI)
    • PUT [id]/
    • PUT [id]/[relationship_type_id]
    • DELETE [id]
    • POST
  • pf/v1/nominated
    • POST [item_id]
    • POST [object]
  • pf/v1/published
  • pf/v1/feed
  • pf/v1/folder
  • pf/v1/user
    • (nothing)
      Priorities ->
  • Read
  • Write (Nominate This)
  • Write (Action Bar)
@stakats stakats mentioned this issue May 4, 2016
@AramZS AramZS modified the milestone: 4.3.x Sep 26, 2016
@AramZS AramZS modified the milestones: 4.3.x, 4.4.x May 24, 2017
@AramZS AramZS modified the milestones: 4.4.x, 5.1 Oct 17, 2017
@AramZS AramZS modified the milestones: 5.1, 5.2 Dec 12, 2017
@AramZS AramZS modified the milestones: 5.2, 5.3 Jul 17, 2019
@boonebgorges boonebgorges modified the milestones: 5.3.0, Future release Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants