Making WordPress.org

Opened 3 years ago

Closed 4 weeks ago

#6776 closed defect (bug) (fixed)

API-REST profile users link

Reported by: javiercasares's profile JavierCasares Owned by:
Milestone: Priority: normal
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
3 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
4 weeks ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.