parent
f7c795c7f6
commit
cdcae4efb0
|
@ -175,6 +175,7 @@ class CertificateOutputSchema(LemurOutputSchema):
|
||||||
authority = fields.Nested(AuthorityNestedOutputSchema)
|
authority = fields.Nested(AuthorityNestedOutputSchema)
|
||||||
roles = fields.Nested(RoleNestedOutputSchema, many=True)
|
roles = fields.Nested(RoleNestedOutputSchema, many=True)
|
||||||
endpoints = fields.Nested(EndpointNestedOutputSchema, many=True, missing=[])
|
endpoints = fields.Nested(EndpointNestedOutputSchema, many=True, missing=[])
|
||||||
|
replaced = fields.Nested(CertificateNestedOutputSchema, many=True)
|
||||||
|
|
||||||
|
|
||||||
class CertificateUploadInputSchema(CertificateCreationSchema):
|
class CertificateUploadInputSchema(CertificateCreationSchema):
|
||||||
|
|
|
@ -99,6 +99,7 @@ class CertificatesList(AuthenticatedResource):
|
||||||
"name": "*.test.example.net"
|
"name": "*.test.example.net"
|
||||||
}],
|
}],
|
||||||
"replaces": [],
|
"replaces": [],
|
||||||
|
"replaced": [],
|
||||||
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
||||||
"roles": [{
|
"roles": [{
|
||||||
"id": 464,
|
"id": 464,
|
||||||
|
@ -520,6 +521,7 @@ class Certificates(AuthenticatedResource):
|
||||||
"name": "*.test.example.net"
|
"name": "*.test.example.net"
|
||||||
}],
|
}],
|
||||||
"replaces": [],
|
"replaces": [],
|
||||||
|
"replaced": [],
|
||||||
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
||||||
"roles": [{
|
"roles": [{
|
||||||
"id": 464,
|
"id": 464,
|
||||||
|
@ -720,6 +722,7 @@ class NotificationCertificatesList(AuthenticatedResource):
|
||||||
"name": "*.test.example.net"
|
"name": "*.test.example.net"
|
||||||
}],
|
}],
|
||||||
"replaces": [],
|
"replaces": [],
|
||||||
|
"replaced": [],
|
||||||
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
||||||
"roles": [{
|
"roles": [{
|
||||||
"id": 464,
|
"id": 464,
|
||||||
|
@ -824,6 +827,7 @@ class CertificatesReplacementsList(AuthenticatedResource):
|
||||||
"name": "*.test.example.net"
|
"name": "*.test.example.net"
|
||||||
}],
|
}],
|
||||||
"replaces": [],
|
"replaces": [],
|
||||||
|
"replaced": [],
|
||||||
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
"name": "WILDCARD.test.example.net-SymantecCorporation-20160603-20180112",
|
||||||
"roles": [{
|
"roles": [{
|
||||||
"id": 464,
|
"id": 464,
|
||||||
|
|
Loading…
Reference in New Issue