25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

66 satır
1.8 KiB

  1. {
  2. "kind": "discovery#restDescription",
  3. "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
  4. "discoveryVersion": "v1",
  5. "id": "repeated:v1",
  6. "name": "repeated",
  7. "version": "v1",
  8. "title": "Example API",
  9. "description": "The Example API demonstrates repeated fields.",
  10. "ownerDomain": "google.com",
  11. "ownerName": "Google",
  12. "protocol": "rest",
  13. "schemas": {
  14. },
  15. "resources": {
  16. "accounts": {
  17. "resources": {
  18. "reports": {
  19. "methods": {
  20. "generate": {
  21. "id": "adsense.accounts.reports.generate",
  22. "path": "accounts/{accountId}/reports",
  23. "httpMethod": "GET",
  24. "description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.",
  25. "parameters": {
  26. "accountId": {
  27. "type": "string",
  28. "description": "Account upon which to report.",
  29. "required": true,
  30. "location": "path"
  31. },
  32. "currency": {
  33. "type": "string",
  34. "description": "Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.",
  35. "pattern": "[a-zA-Z]+",
  36. "location": "query"
  37. },
  38. "ids": {
  39. "type": "string",
  40. "description": "Select only user profiles with these IDs.",
  41. "format": "int64",
  42. "repeated": true,
  43. "location": "query"
  44. },
  45. "dimension": {
  46. "type": "string",
  47. "description": "Dimensions to base the report on.",
  48. "pattern": "[a-zA-Z_]+",
  49. "repeated": true,
  50. "location": "query"
  51. }
  52. },
  53. "parameterOrder": [
  54. "ids",
  55. "currency",
  56. "accountId",
  57. "dimension"
  58. ]
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. }