feat: APIs for Integration Hooks (#2250)
- Introduces JSON Schema validations via JSONSchemer - Add CRUD APIs for integration hooks
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
json.payload do
|
||||
json.array! @apps do |app|
|
||||
json.id app.id
|
||||
json.name app.name
|
||||
json.description app.description
|
||||
json.logo app.logo
|
||||
json.enabled app.enabled?(@current_account)
|
||||
json.action app.action
|
||||
json.partial! 'api/v1/models/app.json.jbuilder', resource: app
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
json.id @app.id
|
||||
json.name @app.name
|
||||
json.logo @app.logo
|
||||
json.description @app.description
|
||||
json.fields @app.fields
|
||||
json.enabled @app.enabled?(@current_account)
|
||||
json.button @app.action
|
||||
json.partial! 'api/v1/models/app.json.jbuilder', resource: @app
|
||||
|
||||
Reference in New Issue
Block a user