Opened 12 years ago

Closed 12 years ago

#452 closed enhancement (fixed)

no api 0.4 call to find ways by segment id

Reported by: vmike@… Owned by: steve@…
Priority: major Milestone:
Component: api Version:
Keywords: Cc:

Description

API 0.3 had an API call to find ways (or areas) to which a specific segment belongs to:

/segment/<id>/ways
/segment/<id>/areas

These calls haven't made it to API 0.4. These calls were helpfull in blocking the deletion of segments if those segments are used elsewhere.

Change History (2)

comment:1 Changed 12 years ago by Tom Hughes

Well the API shouldn't allow you to delete an object that is in use - see ticket #454.

comment:2 Changed 12 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

I have implemented the segment/<id>/ways and node/<id>/segments calls in the 0.4 API as change r3290.

Note: See TracTickets for help on using tickets.