Skip to content

Commit

Permalink
Merge pull request #63 from Moesif/fix-typos
Browse files Browse the repository at this point in the history
Fix typos in Python code snippets
  • Loading branch information
praves77 authored Aug 27, 2024
2 parents b93a265 + 12f6d07 commit 1b6d198
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions source/includes/management-api/_management-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ input_body = {
"metadata": {}
}

r = requests.post('https://api.moesif.com/v1/search/~/companies', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/companies', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -466,7 +466,7 @@ input_body = [
}
]

r = requests.post('https://api.moesif.com/v1/search/~/companies/batch', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/companies/batch', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -1232,7 +1232,7 @@ input_body = false
r = requests.post('https://api.moesif.com/v1/search/~/count/companies', params={
'app_id': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -1506,7 +1506,7 @@ headers = {
}
input_body = false

r = requests.post('https://api.moesif.com/v1/search/~/search/companymetrics/companies', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/search/companymetrics/companies', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -2092,7 +2092,7 @@ input_body = {
"created": "2024-04-11T04:01:35.090Z"
}

r = requests.post('https://api.moesif.com/v1/search/~/subscriptions', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/subscriptions', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -2662,7 +2662,7 @@ input_body = {
"created": "2024-04-11T04:01:35.090Z"
}

r = requests.post('https://api.moesif.com/v1/search/~/subscriptions/batch', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/subscriptions/batch', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -3413,7 +3413,7 @@ input_body = false
r = requests.post('https://api.moesif.com/v1/search/~/count/events', params={
'from': '2024-04-11T04:01:35.090Z', 'to': '2024-04-11T04:01:35.090Z'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -3988,7 +3988,7 @@ input_body = false
r = requests.post('https://api.moesif.com/v1/search/~/search/events', params={
'from': '2024-04-11T04:01:35.090Z', 'to': '2024-04-11T04:01:35.090Z'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -4301,7 +4301,7 @@ input_body = false
r = requests.post('https://api.moesif.com/v1/search/~/workspaces/{workspaceId}/search', params={
'from': '2024-04-11T04:01:35.090Z', 'to': '2024-04-11T04:01:35.090Z'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -4615,7 +4615,7 @@ input_body = false
r = requests.post('https://api.moesif.com/v1/search/~/count/users', params={
'app_id': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -4889,7 +4889,7 @@ headers = {
}
input_body = false

r = requests.post('https://api.moesif.com/v1/search/~/search/usermetrics/users', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/search/usermetrics/users', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -5196,7 +5196,7 @@ input_body = {
"phone": "string"
}

r = requests.post('https://api.moesif.com/v1/search/~/users', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/users', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -5636,7 +5636,7 @@ input_body = [
}
]

r = requests.post('https://api.moesif.com/v1/search/~/users/batch', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/search/~/users/batch', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -7955,7 +7955,7 @@ input_body = {
}
}

r = requests.post('https://api.moesif.com/v1/~/workspaces', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/workspaces', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -9571,7 +9571,7 @@ input_body = {
}
}

r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -10672,7 +10672,7 @@ input_body = {
]
}

r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}/comments', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}/comments', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -11194,7 +11194,7 @@ input_body = {
]
}

r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}/comments/{commentId}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/workspaces/{id}/comments/{commentId}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -12174,7 +12174,7 @@ input_body = {
"custom_app_id": "string"
}

r = requests.post('https://api.moesif.com/v1/~/apps', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/apps', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -12770,7 +12770,7 @@ input_body = {
"custom_app_id": "string"
}

r = requests.post('https://api.moesif.com/v1/~/apps/{id}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/apps/{id}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -13430,7 +13430,7 @@ input_body = {
r = requests.post('https://api.moesif.com/v1/~/billing/catalog/plans', params={
'provider': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -14935,7 +14935,7 @@ input_body = {
r = requests.put('https://api.moesif.com/v1/~/billing/catalog/plans/{id}', params={
'provider': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -15590,7 +15590,7 @@ input_body = {
r = requests.post('https://api.moesif.com/v1/~/billing/catalog/prices', params={
'provider': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -16915,7 +16915,7 @@ input_body = {
r = requests.put('https://api.moesif.com/v1/~/billing/catalog/prices/{id}', params={
'provider': 'string'

}, headers = headers, json = input_data)
}, headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -19070,7 +19070,7 @@ input_body = {
"type": "string"
}

r = requests.post('https://api.moesif.com/v1/~/billing/reports/balance_transactions', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/billing/reports/balance_transactions', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -19452,7 +19452,7 @@ input_body = {
"time_zone": "string"
}

r = requests.post('https://api.moesif.com/v1/~/cohorts', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/cohorts', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -20153,7 +20153,7 @@ input_body = {
"time_zone": "string"
}

r = requests.post('https://api.moesif.com/v1/~/cohorts/{cohortId}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/cohorts/{cohortId}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -22435,7 +22435,7 @@ input_body = {
}
}

r = requests.post('https://api.moesif.com/v1/~/dashboards/{dashId}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/dashboards/{dashId}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -23875,7 +23875,7 @@ input_body = {
}
}

r = requests.post('https://api.moesif.com/v1/~/emails/templates', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/emails/templates', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -24764,7 +24764,7 @@ input_body = {
}
}

r = requests.post('https://api.moesif.com/v1/~/emails/templates/{id}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/emails/templates/{id}', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -25864,7 +25864,7 @@ input_body = {
"type": "string"
}

r = requests.post('https://api.moesif.com/v1/~/governance/rules', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/governance/rules', headers = headers, json = input_body)

print(r.json())

Expand Down Expand Up @@ -26861,7 +26861,7 @@ input_body = {
"type": "string"
}

r = requests.post('https://api.moesif.com/v1/~/governance/rules/{id}', headers = headers, json = input_data)
r = requests.post('https://api.moesif.com/v1/~/governance/rules/{id}', headers = headers, json = input_body)

print(r.json())

Expand Down

0 comments on commit 1b6d198

Please sign in to comment.