Closed (fixed)
Project:
REST UI
Version:
8.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2014 at 15:03 UTC
Updated:
24 Jul 2014 at 15:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
askibinski commentedComment #2
clemens.tolboomAs it does not work on /entity/node/1 while testing I guess we should just use either
$path = '
/' . $resource['id'] . '/{id}';or
$path = '
/' . $resource['entity_type'] . '/{id}';I choose the first but am not sure.
Comment #3
clemens.tolboomChoosing for 'id' was bad. It contains 'entity:'.
Comment #4
clemens.tolboomNo need to display the bad files.
Comment #5
clemens.tolboomOn http://drupal.d8/admin/config/services/rest I noticed
Watchdog database log //{id}which is not good.Switching back to $resource['id'] gives
Watchdog database log /dblog/{id}So this needs work :-(
Comment #6
clemens.tolboomHmmm ... I'm not sure my patches are in order.
As a side note: I've created Drupal #2293697: EntityResource POST routes all use the confusing default: use entity types' https://www.drupal.org/link-relations/create link template if available
Comment #7
clemens.tolboomIn #2292707-10: GET on entity/taxonomy_vocabulary/{id} is not working I learned not all endpoints start with their entity type by checking the database.
Comment #9
juampynr commentedCommitted. I will have a look at #2293697: EntityResource POST routes all use the confusing default: use entity types' https://www.drupal.org/link-relations/create link template if available.
Thanks!