2
"kind": "discovery#restDescription",
3
"etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/ckefd3M0PpbhIY5DVZQuUY4ElY0\"",
4
"discoveryVersion": "v1",
8
"revision": "20131114",
9
"title": "Google Maps Coordinate API",
10
"description": "Lets you view and manage jobs in a Coordinate team.",
11
"ownerDomain": "google.com",
12
"ownerName": "Google",
14
"x16": "http://www.google.com/images/icons/product/search-16.gif",
15
"x32": "http://www.google.com/images/icons/product/search-32.gif"
17
"documentationLink": "https://developers.google.com/coordinate/",
19
"baseUrl": "https://www.googleapis.com/coordinate/v1/teams/",
20
"basePath": "/coordinate/v1/teams/",
21
"rootUrl": "https://www.googleapis.com/",
22
"servicePath": "coordinate/v1/teams/",
27
"description": "Data format for the response.",
33
"Responses with Content-Type of application/json"
39
"description": "Selector specifying which fields to include in a partial response.",
44
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
49
"description": "OAuth 2.0 token for the current user.",
54
"description": "Returns response with indentations and line breaks.",
60
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
65
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
72
"https://www.googleapis.com/auth/coordinate": {
73
"description": "View and manage your Google Maps Coordinate jobs"
75
"https://www.googleapis.com/auth/coordinate.readonly": {
76
"description": "View your Google Coordinate jobs"
85
"description": "Custom field.",
89
"description": "Custom field id.",
94
"description": "Identifies this object as a custom field.",
95
"default": "coordinate#customField"
99
"description": "Custom field value."
104
"id": "CustomFieldDef",
106
"description": "Custom field definition.",
110
"description": "Whether the field is enabled."
114
"description": "Custom field id.",
119
"description": "Identifies this object as a custom field definition.",
120
"default": "coordinate#customFieldDef"
124
"description": "Custom field name."
126
"requiredForCheckout": {
128
"description": "Whether the field is required for checkout."
132
"description": "Custom field type."
136
"CustomFieldDefListResponse": {
137
"id": "CustomFieldDefListResponse",
139
"description": "Collection of custom field definitions for a team.",
143
"description": "Collection of custom field definitions in a team.",
145
"$ref": "CustomFieldDef"
150
"description": "Identifies this object as a collection of custom field definitions in a team.",
151
"default": "coordinate#customFieldDefList"
156
"id": "CustomFields",
158
"description": "Collection of custom fields.",
162
"description": "Collection of custom fields.",
164
"$ref": "CustomField"
169
"description": "Identifies this object as a collection of custom fields.",
170
"default": "coordinate#customFields"
177
"description": "A job.",
181
"description": "Job id.",
186
"description": "List of job changes since it was created. The first change corresponds to the state of the job when it was created.",
193
"description": "Identifies this object as a job.",
194
"default": "coordinate#job"
198
"description": "Current job state."
205
"description": "Change to a job. For example assigning the job to a different worker.",
209
"description": "Identifies this object as a job change.",
210
"default": "coordinate#jobChange"
214
"description": "Change applied to the job. Only the fields that were changed are set."
218
"description": "Time at which this change was applied.",
224
"id": "JobListResponse",
226
"description": "Response from a List Jobs request.",
230
"description": "Jobs in the collection.",
237
"description": "Identifies this object as a list of jobs.",
238
"default": "coordinate#jobList"
242
"description": "A token to provide to get the next page of results."
249
"description": "Current state of a job.",
253
"description": "Email address of the assignee."
256
"$ref": "CustomFields",
257
"description": "Custom fields."
261
"description": "Customer name."
263
"customerPhoneNumber": {
265
"description": "Customer phone number."
269
"description": "Identifies this object as a job state.",
270
"default": "coordinate#jobState"
274
"description": "Job location."
278
"description": "Note added to the job.",
285
"description": "Job progress."
289
"description": "Job title."
296
"description": "Location of a job.",
300
"description": "Address.",
307
"description": "Identifies this object as a location.",
308
"default": "coordinate#location"
312
"description": "Latitude.",
317
"description": "Longitude.",
322
"LocationListResponse": {
323
"id": "LocationListResponse",
325
"description": "Response from a List Locations request.",
329
"description": "Locations in the collection.",
331
"$ref": "LocationRecord"
336
"description": "Identifies this object as a list of locations.",
337
"default": "coordinate#locationList"
341
"description": "A token to provide to get the next page of results."
344
"$ref": "TokenPagination",
345
"description": "Pagination information for token pagination."
350
"id": "LocationRecord",
352
"description": "Recorded location of a worker.",
356
"description": "The collection time in milliseconds since the epoch.",
359
"confidenceRadius": {
361
"description": "The location accuracy in meters. This is the radius of a 95% confidence interval around the location measurement.",
366
"description": "Identifies this object as a location.",
367
"default": "coordinate#locationRecord"
371
"description": "Latitude.",
376
"description": "Longitude.",
384
"description": "Job schedule.",
388
"description": "Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true."
392
"description": "Job duration in milliseconds.",
397
"description": "Scheduled end time in milliseconds since epoch.",
402
"description": "Identifies this object as a job schedule.",
403
"default": "coordinate#schedule"
407
"description": "Scheduled start time in milliseconds since epoch.",
413
"id": "TokenPagination",
415
"description": "Pagination information.",
419
"description": "Identifies this object as pagination information.",
420
"default": "coordinate#tokenPagination"
424
"description": "A token to provide to get the next page of results."
426
"previousPageToken": {
428
"description": "A token to provide to get the previous page of results."
435
"description": "A worker in a Coordinate team.",
439
"description": "Worker email address."
443
"description": "Identifies this object as a worker.",
444
"default": "coordinate#worker"
448
"WorkerListResponse": {
449
"id": "WorkerListResponse",
451
"description": "Response from a List Workers request.",
455
"description": "Workers in the collection.",
462
"description": "Identifies this object as a list of workers.",
463
"default": "coordinate#workerList"
472
"id": "coordinate.customFieldDef.list",
473
"path": "{teamId}/custom_fields",
475
"description": "Retrieves a list of custom field definitions for a team.",
479
"description": "Team ID",
488
"$ref": "CustomFieldDefListResponse"
491
"https://www.googleapis.com/auth/coordinate",
492
"https://www.googleapis.com/auth/coordinate.readonly"
500
"id": "coordinate.jobs.get",
501
"path": "{teamId}/jobs/{jobId}",
503
"description": "Retrieves a job, including all the changes made to the job.",
507
"description": "Job number",
514
"description": "Team ID",
527
"https://www.googleapis.com/auth/coordinate",
528
"https://www.googleapis.com/auth/coordinate.readonly"
532
"id": "coordinate.jobs.insert",
533
"path": "{teamId}/jobs",
534
"httpMethod": "POST",
535
"description": "Inserts a new job. Only the state field of the job should be set.",
539
"description": "Job address as newline (Unix) separated string",
545
"description": "Assignee email address, or empty string to unassign.",
550
"description": "Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'",
556
"description": "Customer name",
559
"customerPhoneNumber": {
561
"description": "Customer phone number",
566
"description": "The latitude coordinate of this job's location.",
573
"description": "The longitude coordinate of this job's location.",
580
"description": "Job note as newline (Unix) separated string",
585
"description": "Team ID",
591
"description": "Job title",
610
"https://www.googleapis.com/auth/coordinate"
614
"id": "coordinate.jobs.list",
615
"path": "{teamId}/jobs",
617
"description": "Retrieves jobs created or modified since the given timestamp.",
621
"description": "Maximum number of results to return in one page.",
625
"minModifiedTimestampMs": {
627
"description": "Minimum time a job was modified in milliseconds since epoch.",
633
"description": "Continuation token",
638
"description": "Team ID",
647
"$ref": "JobListResponse"
650
"https://www.googleapis.com/auth/coordinate",
651
"https://www.googleapis.com/auth/coordinate.readonly"
655
"id": "coordinate.jobs.patch",
656
"path": "{teamId}/jobs/{jobId}",
657
"httpMethod": "PATCH",
658
"description": "Updates a job. Fields that are set in the job state will be updated. This method supports patch semantics.",
662
"description": "Job address as newline (Unix) separated string",
667
"description": "Assignee email address, or empty string to unassign.",
672
"description": "Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'",
678
"description": "Customer name",
681
"customerPhoneNumber": {
683
"description": "Customer phone number",
688
"description": "Job number",
695
"description": "The latitude coordinate of this job's location.",
701
"description": "The longitude coordinate of this job's location.",
707
"description": "Job note as newline (Unix) separated string",
712
"description": "Job progress",
720
"enumDescriptions": [
731
"description": "Team ID",
737
"description": "Job title",
752
"https://www.googleapis.com/auth/coordinate"
756
"id": "coordinate.jobs.update",
757
"path": "{teamId}/jobs/{jobId}",
759
"description": "Updates a job. Fields that are set in the job state will be updated.",
763
"description": "Job address as newline (Unix) separated string",
768
"description": "Assignee email address, or empty string to unassign.",
773
"description": "Map from custom field id (from /team//custom_fields) to the field value. For example '123=Alice'",
779
"description": "Customer name",
782
"customerPhoneNumber": {
784
"description": "Customer phone number",
789
"description": "Job number",
796
"description": "The latitude coordinate of this job's location.",
802
"description": "The longitude coordinate of this job's location.",
808
"description": "Job note as newline (Unix) separated string",
813
"description": "Job progress",
821
"enumDescriptions": [
832
"description": "Team ID",
838
"description": "Job title",
853
"https://www.googleapis.com/auth/coordinate"
861
"id": "coordinate.location.list",
862
"path": "{teamId}/workers/{workerEmail}/locations",
864
"description": "Retrieves a list of locations for a worker.",
868
"description": "Maximum number of results to return in one page.",
874
"description": "Continuation token",
877
"startTimestampMs": {
879
"description": "Start timestamp in milliseconds since the epoch.",
886
"description": "Team ID",
892
"description": "Worker email address.",
903
"$ref": "LocationListResponse"
906
"https://www.googleapis.com/auth/coordinate",
907
"https://www.googleapis.com/auth/coordinate.readonly"
915
"id": "coordinate.schedule.get",
916
"path": "{teamId}/jobs/{jobId}/schedule",
918
"description": "Retrieves the schedule for a job.",
922
"description": "Job number",
929
"description": "Team ID",
942
"https://www.googleapis.com/auth/coordinate",
943
"https://www.googleapis.com/auth/coordinate.readonly"
947
"id": "coordinate.schedule.patch",
948
"path": "{teamId}/jobs/{jobId}/schedule",
949
"httpMethod": "PATCH",
950
"description": "Replaces the schedule of a job with the provided schedule. This method supports patch semantics.",
954
"description": "Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.",
959
"description": "Job duration in milliseconds.",
965
"description": "Scheduled end time in milliseconds since epoch.",
971
"description": "Job number",
978
"description": "Scheduled start time in milliseconds since epoch.",
984
"description": "Team ID",
1000
"https://www.googleapis.com/auth/coordinate"
1004
"id": "coordinate.schedule.update",
1005
"path": "{teamId}/jobs/{jobId}/schedule",
1006
"httpMethod": "PUT",
1007
"description": "Replaces the schedule of a job with the provided schedule.",
1011
"description": "Whether the job is scheduled for the whole day. Time of day in start/end times is ignored if this is true.",
1016
"description": "Job duration in milliseconds.",
1022
"description": "Scheduled end time in milliseconds since epoch.",
1028
"description": "Job number",
1035
"description": "Scheduled start time in milliseconds since epoch.",
1041
"description": "Team ID",
1057
"https://www.googleapis.com/auth/coordinate"
1065
"id": "coordinate.worker.list",
1066
"path": "{teamId}/workers",
1067
"httpMethod": "GET",
1068
"description": "Retrieves a list of workers in a team.",
1072
"description": "Team ID",
1081
"$ref": "WorkerListResponse"
1084
"https://www.googleapis.com/auth/coordinate",
1085
"https://www.googleapis.com/auth/coordinate.readonly"