Userpoints POST rest resource (api/userpoints) doesn't work

Created on 25 October 2022, about 2 years ago
Updated 11 March 2023, almost 2 years ago

Problem/Motivation

Userpoints POST rest resource (api/userpoints) doesn't work when we use user points module 2.x version.

Steps to reproduce

  1. 1) Enable the rest resource of 'api/userpoints'
  2. 2) Try to perform add operation using the end point
  3. 3) User response we get is:
    {
        "message": "No route found for \"POST /api/userpoints\""
    }

Proposed resolution

Change the uri_paths from https://www.drupal.org/link-relations/create to create

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code: userpoints

Created by

🇮🇳India prashantgajare

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024