Making WordPress.org

Opened 4 years ago

Closed 12 months ago

#6776 closed defect (bug) (fixed)

API-REST profile users link

Reported by: JavierCasares Owned by:
Priority: normal Milestone:
Component: Profiles Keywords: needs-patch
Cc:

Description

Checking a profile URL via REST API, like:
​https://profiles.wordpress.org/wp-json/wporg/v1/users/javiercasares/

The link URL is:

link: "​https://profiles.wordpress.org/author/javiercasares/"

But that URL doesn't work. It should be:

link: "​https://profiles.wordpress.org/javiercasares/"

Change History (3)

#1 @dd32
4 years ago

This API endpoint was probably not intended on being used outside of the WordPress.org network (profiles.wordpress.org is buddypress.org), which is where that additional /profile/ came from.

​https://wordpress.org/wp-json/wporg/v1/users/javiercasares/ has the correct data.

#3 @dd32
12 months ago

  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.