mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
added api for accr center
This commit is contained in:
parent
bccd3d51c1
commit
a87fd6a8b7
8 changed files with 191 additions and 0 deletions
|
@ -90,6 +90,9 @@ sk_digi_doc_service_name: 'Testimine'
|
|||
registrant_api_base_url:
|
||||
registrant_api_auth_allowed_ips: '127.0.0.1, 0.0.0.0' #ips, separated with commas
|
||||
|
||||
# Accreditation Center API
|
||||
accr_center_api_auth_allowed_ips: '127.0.0.1, 0.0.0.0' #ips, separated with commas
|
||||
|
||||
# Shared key for REST-WHOIS Bounces API incl. CERT
|
||||
rwhois_bounces_api_shared_key: testkey
|
||||
|
||||
|
|
|
@ -126,6 +126,13 @@ Rails.application.routes.draw do
|
|||
resources :companies, only: %i[index]
|
||||
end
|
||||
|
||||
namespace :accreditation_center do
|
||||
resource :domains, only: [ :show ], param: :name
|
||||
resource :contacts, only: [ :show ], param: :id
|
||||
# resource :auth, only: [ :index ]
|
||||
get 'auth', to: 'auth#index'
|
||||
end
|
||||
|
||||
resources :auctions, only: %i[index show update], param: :uuid
|
||||
resources :contact_requests, only: %i[create update], param: :id
|
||||
resources :bounces, only: %i[create]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue