You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

73 lines
1.7 KiB

  1. {
  2. "kind": "discovery#restDescription",
  3. "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
  4. "discoveryVersion": "v1",
  5. "id": "additionalprops:v1",
  6. "name": "additionalprops",
  7. "version": "v1",
  8. "title": "Example API",
  9. "description": "The Example API demonstrates an associative array.",
  10. "ownerDomain": "google.com",
  11. "ownerName": "Google",
  12. "protocol": "rest",
  13. "schemas": {
  14. "TimeseriesDescriptor": {
  15. "id": "TimeseriesDescriptor",
  16. "type": "object",
  17. "description": "The descriptions of a time series.",
  18. "properties": {
  19. "labels": {
  20. "type": "object",
  21. "description": "The set of key-value pairs that describe this time series, including target-specific labels and metric-specific labels.",
  22. "additionalProperties": {
  23. "type": "string",
  24. "description": "The label's name."
  25. }
  26. },
  27. "metric": {
  28. "type": "string",
  29. "description": "The name of the metric."
  30. },
  31. "project": {
  32. "type": "string",
  33. "description": "The project ID to which this time series belongs."
  34. },
  35. "tags": {
  36. "type": "object",
  37. "description": "A map of additional information.",
  38. "additionalProperties": {
  39. "type": "array",
  40. "description": "A string which maps to an array of values.",
  41. "items": {
  42. "type": "string"
  43. }
  44. }
  45. }
  46. }
  47. },
  48. "GetMapResponse": {
  49. "id": "GetMapResponse",
  50. "type": "object",
  51. "description": "Response of getting a map.",
  52. "additionalProperties": {
  53. "type": "string"
  54. }
  55. }
  56. },
  57. "resources": {
  58. "atlas": {
  59. "methods": {
  60. "getMap": {
  61. "id": "mapofstrings.getMap",
  62. "path": "map",
  63. "httpMethod": "GET",
  64. "description": "Get a map.",
  65. "response": {
  66. "$ref": "GetMapResponse"
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }