-
Notifications
You must be signed in to change notification settings - Fork 0
/
registrations_change_acknowledge_put.go
46 lines (40 loc) · 1.33 KB
/
registrations_change_acknowledge_put.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package swagger
import (
"github.com/antonio-alexander/go-bludgeon/changes/data"
"github.com/antonio-alexander/go-bludgeon/internal/errors"
)
// swagger:route POST /changes/registrations/{registration_id}/acknowledge registrations registrations_acknowledge
// Acknowledges one or more changes for a given registration
//
// Consumes:
// - application/json
//
// Produces:
// - application/json
//
// Schemes: http
//
// responses:
// 200: RegistrationChangesAcknowledgePostResponseOK
// 500: RegistrationChangesAcknowledgePostResponseError
// This is the response when one or more changes are successfully acknowledged
// swagger:response RegistrationChangesAcknowledgePostResponseOK
type RegistrationChangesAcknowledgePostResponseOK struct {
// in:body
Body data.ResponseAcknowledge
}
// This is the general response when a non-specific error occurs
// swagger:response RegistrationChangesAcknowledgePostResponseError
type RegistrationChangesAcknowledgePostResponseError struct {
// in:body
Body errors.Error
}
// swagger:parameters registrations_acknowledge
type RegistrationChangesAcknowledgePostParams struct {
// The registration id
// in:path
RegistrationId string `json:"registration_id"`
// This allows you to partially set values for certain properties of an Change.
// in: body
Body data.RequestAcknowledge
}