Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User solutions authenticated API #23585

Merged
merged 24 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ mypictures
myregistry
myshopify
mysite
mysolutions
mysquare
mystore
myvolume
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"productId": "canonical.0001-com-ubuntu-server-focal",
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"api-version": "2023-03-01-preview",
"request": {
"name": "Starting Prices",
"productIds": []
}
},
"responses": {
"200": {
"body": {
"id": "7da626db-4731-4565-bda7-718a052f2219",
"type": "Microsoft.Marketplace/solutions",
"name": "Starting Prices",
"properties": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"solutionName": "Starting Prices",
"products": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {
"body": {
"id": "7da626db-4731-4565-bda7-718a052f2219",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7da626db-4731-4565-bda7-718a052f2219

this must be a resource ID "/providers/Microsoft.Marketplaces/mySolutions/{resourceName}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"type": "Microsoft.Marketplace/solutions",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

solutions

the resource type in the spec is "Microsoft.Marketplace/mySolutions"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"name": "Starting Prices",
"properties": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"solutionName": "Starting Prices",
"products": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {
"body": {
"nextLink": "",
"value": [
{
"id": "710fea3b-4a50-46e5-b2ad-95ed8423b61d",
"type": "Microsoft.Marketplace/solutions",
"name": "Starting Prices",
"properties": {
"solutionId": "710fea3b-4a50-46e5-b2ad-95ed8423b61d",
"solutionName": "Starting Prices",
"products": []
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Marketplace/me/solutions",
"isDataAction": false,
"display": {
"provider": "Microsoft.Marketplace",
"resource": "Resources",
"operation": "User Solutions"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"productId": "canonical.0001-com-ubuntu-server-focal",
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"solutionId": "7da626db-4731-4565-bda7-718a052f2219",
"api-version": "2023-03-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"id": "7da626db-4731-4565-bda7-718a052f2219",
"api-version": "2023-03-01-preview",
"payload": {
"newName": "new_solution_name"
}
},
"responses": {
"200": {}
}
}
Loading