API v0.5/Command Overview

From OpenStreetMap Wiki
Jump to navigation Jump to search



Automatically created on Tue Mar 10 23:20:25 UTC 2009 from routes.rb using a ruby script. Do not modify manually.

Based on http://svn.openstreetmap.org/sites/rails_port/config/routes.rb



URL Rails controller and action HTTP-Method Session Before
filter
After
filter
filter
parameter
logging
Paramters Status
API
api/0.5/node/create Controller: NodeController
Action: create
any off authorize,
check_write_availability
compress_output
api/0.5/node/:id/ways Controller: WayController
Action: ways_for_node
any off check_read_availability compress_output :id is decimal number
api/0.5/node/:id/relations Controller: RelationController
Action: relations_for_node
any off check_read_availability compress_output :id is decimal number
api/0.5/node/:id/history Controller: Old_nodeController
Action: history
any off check_read_availability compress_output :id is decimal number
api/0.5/node/:id Controller: NodeController
Action: read
get off check_read_availability compress_output :id is decimal number
api/0.5/node/:id Controller: NodeController
Action: update
put off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/node/:id Controller: NodeController
Action: delete
delete off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/nodes Controller: NodeController
Action: nodes
any off check_read_availability compress_output
api/0.5/way/create Controller: WayController
Action: create
any off authorize,
check_write_availability
compress_output
api/0.5/way/:id/history Controller: Old_wayController
Action: history
any off check_read_availability compress_output :id is decimal number
api/0.5/way/:id/full Controller: WayController
Action: full
any off check_read_availability compress_output :id is decimal number
api/0.5/way/:id/relations Controller: RelationController
Action: relations_for_way
any off check_read_availability compress_output :id is decimal number
api/0.5/way/:id Controller: WayController
Action: read
get off check_read_availability compress_output :id is decimal number
api/0.5/way/:id Controller: WayController
Action: update
put off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/way/:id Controller: WayController
Action: delete
delete off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/ways Controller: WayController
Action: ways
any off check_read_availability compress_output
api/0.5/capabilities Controller: ApiController
Action: capabilities
any off compress_output
api/0.5/relation/create Controller: RelationController
Action: create
any off authorize,
check_write_availability
compress_output
api/0.5/relation/:id/relations Controller: RelationController
Action: relations_for_relation
any off check_read_availability compress_output :id is decimal number
api/0.5/relation/:id/history Controller: Old_relationController
Action: history
any off compress_output :id is decimal number
api/0.5/relation/:id/full Controller: RelationController
Action: full
any off check_read_availability compress_output :id is decimal number
api/0.5/relation/:id Controller: RelationController
Action: read
get off check_read_availability compress_output :id is decimal number
api/0.5/relation/:id Controller: RelationController
Action: update
put off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/relation/:id Controller: RelationController
Action: delete
delete off authorize,
check_write_availability
compress_output :id is decimal number
api/0.5/relations Controller: RelationController
Action: relations
any off check_read_availability compress_output
api/0.5/map Controller: ApiController
Action: map
any off check_read_availability compress_output
api/0.5/trackpoints Controller: ApiController
Action: trackpoints
any off check_read_availability compress_output
api/0.5/changes Controller: ApiController
Action: changes
any off check_read_availability compress_output
api/0.5/search Controller: SearchController
Action: search_all
any compress_output
api/0.5/ways/search Controller: SearchController
Action: search_ways
any compress_output
api/0.5/relations/search Controller: SearchController
Action: search_relations
any compress_output
api/0.5/nodes/search Controller: SearchController
Action: search_nodes
any compress_output
api/0.5/user/details Controller: UserController
Action: api_details
any authorize,
check_read_availability
password,
pass_crypt,
pass_crypt_confirmation
api/0.5/user/preferences Controller: User_preferenceController
Action: read
get authorize
api/0.5/user/preferences/:preference_key Controller: User_preferenceController
Action: read_one
get authorize :preference_key has no restrictions
api/0.5/user/preferences Controller: User_preferenceController
Action: update
put authorize
api/0.5/user/preferences/:preference_key Controller: User_preferenceController
Action: update_one
put authorize :preference_key has no restrictions
api/0.5/user/preferences/:preference_key Controller: User_preferenceController
Action: delete_one
delete authorize :preference_key has no restrictions
api/0.5/user/gpx_files Controller: UserController
Action: api_gpx_files
any authorize,
check_read_availability
password,
pass_crypt,
pass_crypt_confirmation
api/0.5/gpx/create Controller: TraceController
Action: api_create
any authorize_web,
authorize,
check_read_availability
api/0.5/gpx/:id/details Controller: TraceController
Action: api_details
any authorize_web,
authorize,
check_read_availability
:id has no restrictions
api/0.5/gpx/:id/data Controller: TraceController
Action: api_data
any authorize_web,
authorize,
check_read_availability
:id has no restrictions
Potlatch API
api/0.5/amf/read Controller: AmfController
Action: amf_read
any off check_write_availability
api/0.5/amf/write Controller: AmfController
Action: amf_write
any off check_write_availability
api/0.5/swf/trackpoints Controller: SwfController
Action: trackpoints
any off check_read_availability
Data browsing
/browse Controller: BrowseController
Action: index
any authorize_web,
{ c c.check_database_availability(true) }
/browse/start Controller: BrowseController
Action: start
any authorize_web,
{ c c.check_database_availability(true) }
/browse/way/:id Controller: BrowseController
Action: way
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
/browse/way/:id/history Controller: BrowseController
Action: way_history
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
/browse/node/:id Controller: BrowseController
Action: node
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
/browse/node/:id/history Controller: BrowseController
Action: node_history
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
/browse/relation/:id Controller: BrowseController
Action: relation
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
/browse/relation/:id/history Controller: BrowseController
Action: relation_history
any authorize_web,
{ c c.check_database_availability(true) }
:id is decimal number
web site
/ Controller: SiteController
Action: index
any authorize_web
/edit Controller: SiteController
Action: edit
any authorize_web,
require_user
/export Controller: SiteController
Action: export
any authorize_web
/login Controller: UserController
Action: login
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/logout Controller: UserController
Action: logout
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/offline Controller: SiteController
Action: offline
any authorize_web
/user/new Controller: UserController
Action: new
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/save Controller: UserController
Action: save
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/confirm Controller: UserController
Action: confirm
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/confirm-email Controller: UserController
Action: confirm_email
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/go_public Controller: UserController
Action: go_public
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/reset-password Controller: UserController
Action: reset_password
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/upload-image Controller: UserController
Action: upload_image
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/delete-image Controller: UserController
Action: delete_image
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/user/forgot-password Controller: UserController
Action: lost_password
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/index.html Controller: SiteController
Action: index
any authorize_web
/edit.html Controller: SiteController
Action: edit
any authorize_web,
require_user
/export.html Controller: SiteController
Action: export
any authorize_web
/search.html Controller: Way_tagController
Action: search
any
/login.html Controller: UserController
Action: login
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/logout.html Controller: UserController
Action: logout
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/create-account.html Controller: UserController
Action: new
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
/forgot-password.html Controller: UserController
Action: lost_password
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
traces
/traces Controller: TraceController
Action: list
any authorize_web,
check_database_availability
/traces/page/:page Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:page has no restrictions
/traces/rss Controller: TraceController
Action: georss
any authorize_web,
check_database_availability
/traces/tag/:tag Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:tag has no restrictions
/traces/tag/:tag/page/:page Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:tag has no restrictions,
:page has no restrictions
/traces/tag/:tag/rss Controller: TraceController
Action: georss
any authorize_web,
check_database_availability
:tag has no restrictions
/traces/mine Controller: TraceController
Action: mine
any authorize_web,
require_user,
check_database_availability
/traces/mine/page/:page Controller: TraceController
Action: mine
any authorize_web,
require_user,
check_database_availability
:page has no restrictions
/traces/mine/tag/:tag Controller: TraceController
Action: mine
any authorize_web,
require_user,
check_database_availability
:tag has no restrictions
/traces/mine/tag/:tag/page/:page Controller: TraceController
Action: mine
any authorize_web,
require_user,
check_database_availability
:tag has no restrictions,
:page has no restrictions
/trace/create Controller: TraceController
Action: create
any authorize_web,
check_database_availability
/trace/:id/data Controller: TraceController
Action: data
any authorize_web,
check_database_availability
:id has no restrictions
/trace/:id/data.:format Controller: TraceController
Action: data
any authorize_web,
check_database_availability
:id has no restrictions
/trace/:id/edit Controller: TraceController
Action: edit
any authorize_web,
require_user,
check_database_availability
:id has no restrictions
/trace/:id/delete Controller: TraceController
Action: delete
any authorize_web,
require_user,
check_database_availability
:id has no restrictions
/trace/:id/make_public Controller: TraceController
Action: make_public
any authorize_web,
require_user,
check_database_availability
:id has no restrictions
/user/:display_name/traces Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:display_name has no restrictions
/user/:display_name/traces/page/:page Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:display_name has no restrictions,
:page has no restrictions
/user/:display_name/traces/rss Controller: TraceController
Action: georss
any authorize_web,
check_database_availability
:display_name has no restrictions
/user/:display_name/traces/tag/:tag Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:display_name has no restrictions,
:tag has no restrictions
/user/:display_name/traces/tag/:tag/page/:page Controller: TraceController
Action: list
any authorize_web,
check_database_availability
:display_name has no restrictions,
:tag has no restrictions,
:page has no restrictions
/user/:display_name/traces/tag/:tag/rss Controller: TraceController
Action: georss
any authorize_web,
check_database_availability
:display_name has no restrictions,
:tag has no restrictions
/user/:display_name/traces/:id Controller: TraceController
Action: view
any authorize_web,
check_database_availability
:display_name has no restrictions,
:id has no restrictions
/user/:display_name/traces/:id/picture Controller: TraceController
Action: picture
any authorize_web,
check_database_availability
:display_name has no restrictions,
:id has no restrictions
/user/:display_name/traces/:id/icon Controller: TraceController
Action: icon
any authorize_web,
check_database_availability
:display_name has no restrictions,
:id has no restrictions
user pages
/user/:display_name Controller: UserController
Action: view
any authorize_web,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
:display_name has no restrictions
/user/:display_name/make_friend Controller: UserController
Action: make_friend
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
:display_name has no restrictions
/user/:display_name/remove_friend Controller: UserController
Action: remove_friend
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
:display_name has no restrictions
/user/:display_name/diary Controller: Diary_entryController
Action: list
any authorize_web,
check_database_availability
:display_name has no restrictions
/user/:display_name/diary/:id Controller: Diary_entryController
Action: view
any authorize_web,
check_database_availability
:display_name has no restrictions,
:id is decimal number
/user/:display_name/diary/:id/newcomment Controller: Diary_entryController
Action: comment
any authorize_web,
check_database_availability
:display_name has no restrictions,
:id is decimal number
/user/:display_name/diary/rss Controller: Diary_entryController
Action: rss
any authorize_web,
check_database_availability
:display_name has no restrictions
/user/:display_name/diary/new Controller: Diary_entryController
Action: new
any authorize_web,
require_user,
check_database_availability
:display_name has no restrictions
/user/:display_name/diary/:id/edit Controller: Diary_entryController
Action: edit
any authorize_web,
require_user,
check_database_availability
:display_name has no restrictions,
:id is decimal number
/user/:display_name/account Controller: UserController
Action: account
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
:display_name has no restrictions
/user/:display_name/set_home Controller: UserController
Action: set_home
any authorize_web,
require_user,
check_database_availability
password,
pass_crypt,
pass_crypt_confirmation
:display_name has no restrictions
/diary Controller: Diary_entryController
Action: list
any authorize_web,
check_database_availability
/diary/rss Controller: Diary_entryController
Action: rss
any authorize_web,
check_database_availability
/diary/:language Controller: Diary_entryController
Action: list
any authorize_web,
check_database_availability
:language has no restrictions
/diary/:language/rss Controller: Diary_entryController
Action: rss
any authorize_web,
check_database_availability
:language has no restrictions
test pages
/test/populate/:table/:from/:count Controller: TestController
Action: populate
any Error!
Opening controller failed!
Error!
Opening controller failed!
Error!
Opening controller failed!
Error!
Opening controller failed!
:table has no restrictions,
:from has no restrictions,
:count has no restrictions
/test/populate/:table/:count Controller: TestController
Action: populate
any Error!
Opening controller failed!
Error!
Opening controller failed!
Error!
Opening controller failed!
Error!
Opening controller failed!
:table has no restrictions,
:count has no restrictions
geocoder
/geocoder/search Controller: GeocoderController
Action: search
any
/geocoder/description Controller: GeocoderController
Action: description
any
export
/export/start Controller: ExportController
Action: start
any
/export/finish Controller: ExportController
Action: finish
any
messages
/user/:display_name/inbox Controller: MessageController
Action: inbox
any authorize_web,
require_user
:display_name has no restrictions
/user/:display_name/outbox Controller: MessageController
Action: outbox
any authorize_web,
require_user
:display_name has no restrictions
/message/new/:user_id Controller: MessageController
Action: new
any authorize_web,
require_user
:user_id has no restrictions
/message/read/:message_id Controller: MessageController
Action: read
any authorize_web,
require_user
:message_id has no restrictions
/message/mark/:message_id Controller: MessageController
Action: mark
any authorize_web,
require_user
:message_id has no restrictions
/message/reply/:message_id Controller: MessageController
Action: reply
any authorize_web,
require_user
:message_id has no restrictions
fall through
:controller/:id/:action any :controller has no restrictions,
:id has no restrictions,
:action has no restrictions
:controller/:action any :controller has no restrictions,
:action has no restrictions