Skip to content

Commit

Permalink
add additional parameters #9
Browse files Browse the repository at this point in the history
  • Loading branch information
kshychko committed Apr 18, 2017
1 parent 75d65fa commit 6470bd1
Showing 1 changed file with 57 additions and 3 deletions.
60 changes: 57 additions & 3 deletions docs/2.0.0/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,50 @@
"name":"limit",
"in":"query",
"description":"The maximum number of records returned in the result set.",
"required":true,
"required":false,
"type":"integer",
"default":25
},
"offset":{
"name":"offset",
"in":"query",
"description":"The offset of the first record contained in the result set within the total number of records matching the request criteria.",
"required":true,
"required":false,
"type":"integer",
"default":50
},
"idQuery":{
"name":"id",
"in":"query",
"description":"The unique id for the accredited service provider or it's part with wildcards.",
"required":false,
"type":"string",
"default":25
},
"nameQuery":{
"name":"name",
"in":"query",
"description":"The trading name of the accredited service provider or it's part with wildcards.",
"required":false,
"type":"string",
"default":50
},
"idAPQuery":{
"name":"id",
"in":"query",
"description":"The unique id for the access point or it's part with wildcards.",
"required":false,
"type":"string",
"default":25
},
"nameAPQuery":{
"name":"name",
"in":"query",
"description":"The trading name of the access point or it's part with wildcards.",
"required":false,
"type":"string",
"default":50
},
"acceptHeader":{
"name":"Accept",
"in":"header",
Expand Down Expand Up @@ -212,7 +244,7 @@
}
}
},
"/api/capabilityPublisher/{capabilityPublisherID}/participants/{participantId}":{
"/api/capabilityPublishers/{capabilityPublisherID}/participants/{participantId}":{
"delete":{
"tags":[
"Delete Participant Capability Address"
Expand Down Expand Up @@ -359,6 +391,12 @@
},
{
"$ref":"#/parameters/offset"
},
{
"$ref":"#/parameters/idQuery"
},
{
"$ref":"#/parameters/nameQuery"
}
],
"responses":{
Expand Down Expand Up @@ -403,6 +441,12 @@
},
{
"$ref":"#/parameters/offset"
},
{
"$ref":"#/parameters/idAPQuery"
},
{
"$ref":"#/parameters/nameAPQuery"
}
],
"responses":{
Expand Down Expand Up @@ -446,6 +490,16 @@
"capabilityPublisherID":{
"type":"string",
"description":"The unique ID assigned to the Digital Capability Publisher during the accreditation process."
},
"validFrom":{
"type":"string",
"format":"date-time",
"description":"TODO"
},
"validTill":{
"type":"string",
"format":"date-time",
"description":"TODO"
}
},
"required":[
Expand Down

0 comments on commit 6470bd1

Please sign in to comment.