mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Added xml epp console required endpoints and sample xml files
This commit is contained in:
parent
30fd6d2465
commit
aaa0e89cfe
21 changed files with 460 additions and 4 deletions
|
@ -106,7 +106,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
namespace :registrar do
|
||||
resources :notifications, only: [:index, :show, :update] do
|
||||
resources :notifications, only: %i[index show update] do
|
||||
collection do
|
||||
get '/all_notifications', to: 'notifications#all_notifications'
|
||||
end
|
||||
|
@ -128,6 +128,11 @@ Rails.application.routes.draw do
|
|||
post '/tara_callback', to: 'auth#tara_callback'
|
||||
end
|
||||
end
|
||||
resource :xml_console, controller: 'xml_console', only: %i[create] do
|
||||
collection do
|
||||
get 'load_xml'
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :domains, constraints: { id: /.*/ } do
|
||||
resources :nameservers, only: %i[index create destroy], constraints: { id: /.*/ }, controller: 'domains/nameservers'
|
||||
|
@ -136,8 +141,8 @@ Rails.application.routes.draw do
|
|||
resources :renew, only: %i[create], constraints: { id: /.*/ }, controller: 'domains/renews'
|
||||
resources :transfer, only: %i[create], constraints: { id: /.*/ }, controller: 'domains/transfers'
|
||||
resources :statuses, only: %i[update destroy], constraints: { id: /.*/ }, controller: 'domains/statuses'
|
||||
match "dnssec", to: "domains/dnssec#destroy", via: "delete", defaults: { id: nil }
|
||||
match "contacts", to: "domains/contacts#destroy", via: "delete", defaults: { id: nil }
|
||||
match 'dnssec', to: 'domains/dnssec#destroy', via: 'delete', defaults: { id: nil }
|
||||
match 'contacts', to: 'domains/contacts#destroy', via: 'delete', defaults: { id: nil }
|
||||
collection do
|
||||
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
|
||||
post 'transfer', to: 'domains#transfer'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue