basecamp-client 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1468 -390
- package/dist/index.d.ts +1468 -390
- package/dist/index.js +172 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +172 -93
- package/dist/index.mjs.map +1 -1
- package/openapi.json +1027 -3
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -11227,7 +11227,7 @@
|
|
|
11227
11227
|
"type": "string",
|
|
11228
11228
|
"enum": [
|
|
11229
11229
|
"active",
|
|
11230
|
-
"
|
|
11230
|
+
"drafted"
|
|
11231
11231
|
]
|
|
11232
11232
|
},
|
|
11233
11233
|
{
|
|
@@ -22228,7 +22228,8 @@
|
|
|
22228
22228
|
},
|
|
22229
22229
|
"position": {
|
|
22230
22230
|
"type": "integer",
|
|
22231
|
-
"minimum": 0
|
|
22231
|
+
"minimum": 0,
|
|
22232
|
+
"exclusiveMinimum": 0
|
|
22232
22233
|
}
|
|
22233
22234
|
},
|
|
22234
22235
|
"required": [
|
|
@@ -35228,6 +35229,1029 @@
|
|
|
35228
35229
|
"x-client-method": "questions.get"
|
|
35229
35230
|
}
|
|
35230
35231
|
},
|
|
35232
|
+
"/buckets/{bucketId}/questions/{questionId}/answers": {
|
|
35233
|
+
"get": {
|
|
35234
|
+
"description": "Returns a paginated list of answers for a specific check-in question.",
|
|
35235
|
+
"summary": "List question answers",
|
|
35236
|
+
"tags": [
|
|
35237
|
+
"Question Answers"
|
|
35238
|
+
],
|
|
35239
|
+
"parameters": [
|
|
35240
|
+
{
|
|
35241
|
+
"name": "bucketId",
|
|
35242
|
+
"in": "path",
|
|
35243
|
+
"required": true,
|
|
35244
|
+
"schema": {
|
|
35245
|
+
"type": "integer",
|
|
35246
|
+
"minimum": 0,
|
|
35247
|
+
"nullable": true
|
|
35248
|
+
}
|
|
35249
|
+
},
|
|
35250
|
+
{
|
|
35251
|
+
"name": "questionId",
|
|
35252
|
+
"in": "path",
|
|
35253
|
+
"required": true,
|
|
35254
|
+
"schema": {
|
|
35255
|
+
"type": "integer",
|
|
35256
|
+
"minimum": 0,
|
|
35257
|
+
"nullable": true
|
|
35258
|
+
}
|
|
35259
|
+
},
|
|
35260
|
+
{
|
|
35261
|
+
"name": "Authorization",
|
|
35262
|
+
"in": "header",
|
|
35263
|
+
"required": true,
|
|
35264
|
+
"schema": {
|
|
35265
|
+
"type": "string",
|
|
35266
|
+
"minLength": 1
|
|
35267
|
+
}
|
|
35268
|
+
},
|
|
35269
|
+
{
|
|
35270
|
+
"name": "User-Agent",
|
|
35271
|
+
"in": "header",
|
|
35272
|
+
"schema": {
|
|
35273
|
+
"type": "string",
|
|
35274
|
+
"minLength": 1
|
|
35275
|
+
}
|
|
35276
|
+
},
|
|
35277
|
+
{
|
|
35278
|
+
"name": "Accept",
|
|
35279
|
+
"in": "header",
|
|
35280
|
+
"schema": {
|
|
35281
|
+
"type": "string",
|
|
35282
|
+
"enum": [
|
|
35283
|
+
"application/json"
|
|
35284
|
+
]
|
|
35285
|
+
}
|
|
35286
|
+
},
|
|
35287
|
+
{
|
|
35288
|
+
"name": "page",
|
|
35289
|
+
"in": "query",
|
|
35290
|
+
"schema": {
|
|
35291
|
+
"type": "integer",
|
|
35292
|
+
"minimum": 0,
|
|
35293
|
+
"exclusiveMinimum": 0
|
|
35294
|
+
}
|
|
35295
|
+
}
|
|
35296
|
+
],
|
|
35297
|
+
"responses": {
|
|
35298
|
+
"200": {
|
|
35299
|
+
"description": "200",
|
|
35300
|
+
"content": {
|
|
35301
|
+
"application/json": {
|
|
35302
|
+
"schema": {
|
|
35303
|
+
"type": "array",
|
|
35304
|
+
"items": {
|
|
35305
|
+
"type": "object",
|
|
35306
|
+
"properties": {
|
|
35307
|
+
"id": {
|
|
35308
|
+
"type": "integer",
|
|
35309
|
+
"minimum": 0
|
|
35310
|
+
},
|
|
35311
|
+
"status": {
|
|
35312
|
+
"oneOf": [
|
|
35313
|
+
{
|
|
35314
|
+
"type": "string",
|
|
35315
|
+
"enum": [
|
|
35316
|
+
"active",
|
|
35317
|
+
"trashed"
|
|
35318
|
+
]
|
|
35319
|
+
},
|
|
35320
|
+
{
|
|
35321
|
+
"type": "string"
|
|
35322
|
+
}
|
|
35323
|
+
]
|
|
35324
|
+
},
|
|
35325
|
+
"visible_to_clients": {
|
|
35326
|
+
"type": "boolean"
|
|
35327
|
+
},
|
|
35328
|
+
"created_at": {
|
|
35329
|
+
"type": "string",
|
|
35330
|
+
"format": "date-time"
|
|
35331
|
+
},
|
|
35332
|
+
"updated_at": {
|
|
35333
|
+
"type": "string",
|
|
35334
|
+
"format": "date-time"
|
|
35335
|
+
},
|
|
35336
|
+
"title": {
|
|
35337
|
+
"type": "string"
|
|
35338
|
+
},
|
|
35339
|
+
"inherits_status": {
|
|
35340
|
+
"type": "boolean"
|
|
35341
|
+
},
|
|
35342
|
+
"type": {
|
|
35343
|
+
"type": "string",
|
|
35344
|
+
"enum": [
|
|
35345
|
+
"Question::Answer"
|
|
35346
|
+
]
|
|
35347
|
+
},
|
|
35348
|
+
"url": {
|
|
35349
|
+
"type": "string",
|
|
35350
|
+
"format": "uri"
|
|
35351
|
+
},
|
|
35352
|
+
"app_url": {
|
|
35353
|
+
"type": "string",
|
|
35354
|
+
"format": "uri"
|
|
35355
|
+
},
|
|
35356
|
+
"bookmark_url": {
|
|
35357
|
+
"type": "string",
|
|
35358
|
+
"format": "uri"
|
|
35359
|
+
},
|
|
35360
|
+
"subscription_url": {
|
|
35361
|
+
"type": "string",
|
|
35362
|
+
"format": "uri"
|
|
35363
|
+
},
|
|
35364
|
+
"comments_count": {
|
|
35365
|
+
"type": "integer",
|
|
35366
|
+
"minimum": 0
|
|
35367
|
+
},
|
|
35368
|
+
"comments_url": {
|
|
35369
|
+
"type": "string",
|
|
35370
|
+
"format": "uri"
|
|
35371
|
+
},
|
|
35372
|
+
"position": {
|
|
35373
|
+
"type": "integer",
|
|
35374
|
+
"minimum": 0
|
|
35375
|
+
},
|
|
35376
|
+
"parent": {
|
|
35377
|
+
"type": "object",
|
|
35378
|
+
"properties": {
|
|
35379
|
+
"id": {
|
|
35380
|
+
"type": "integer",
|
|
35381
|
+
"minimum": 0
|
|
35382
|
+
},
|
|
35383
|
+
"title": {
|
|
35384
|
+
"type": "string"
|
|
35385
|
+
},
|
|
35386
|
+
"type": {
|
|
35387
|
+
"type": "string"
|
|
35388
|
+
},
|
|
35389
|
+
"url": {
|
|
35390
|
+
"type": "string",
|
|
35391
|
+
"format": "uri"
|
|
35392
|
+
},
|
|
35393
|
+
"app_url": {
|
|
35394
|
+
"type": "string",
|
|
35395
|
+
"format": "uri"
|
|
35396
|
+
}
|
|
35397
|
+
},
|
|
35398
|
+
"required": [
|
|
35399
|
+
"id",
|
|
35400
|
+
"title",
|
|
35401
|
+
"type",
|
|
35402
|
+
"url",
|
|
35403
|
+
"app_url"
|
|
35404
|
+
]
|
|
35405
|
+
},
|
|
35406
|
+
"bucket": {
|
|
35407
|
+
"type": "object",
|
|
35408
|
+
"properties": {
|
|
35409
|
+
"id": {
|
|
35410
|
+
"type": "integer",
|
|
35411
|
+
"minimum": 0
|
|
35412
|
+
},
|
|
35413
|
+
"name": {
|
|
35414
|
+
"type": "string"
|
|
35415
|
+
},
|
|
35416
|
+
"type": {
|
|
35417
|
+
"type": "string"
|
|
35418
|
+
}
|
|
35419
|
+
},
|
|
35420
|
+
"required": [
|
|
35421
|
+
"id",
|
|
35422
|
+
"name",
|
|
35423
|
+
"type"
|
|
35424
|
+
]
|
|
35425
|
+
},
|
|
35426
|
+
"creator": {
|
|
35427
|
+
"type": "object",
|
|
35428
|
+
"properties": {
|
|
35429
|
+
"id": {
|
|
35430
|
+
"type": "integer",
|
|
35431
|
+
"minimum": 0
|
|
35432
|
+
},
|
|
35433
|
+
"attachable_sgid": {
|
|
35434
|
+
"type": "string",
|
|
35435
|
+
"minLength": 1
|
|
35436
|
+
},
|
|
35437
|
+
"name": {
|
|
35438
|
+
"type": "string"
|
|
35439
|
+
},
|
|
35440
|
+
"email_address": {
|
|
35441
|
+
"type": "string",
|
|
35442
|
+
"format": "email",
|
|
35443
|
+
"nullable": true
|
|
35444
|
+
},
|
|
35445
|
+
"personable_type": {
|
|
35446
|
+
"type": "string"
|
|
35447
|
+
},
|
|
35448
|
+
"title": {
|
|
35449
|
+
"type": "string",
|
|
35450
|
+
"nullable": true
|
|
35451
|
+
},
|
|
35452
|
+
"bio": {
|
|
35453
|
+
"type": "string",
|
|
35454
|
+
"nullable": true
|
|
35455
|
+
},
|
|
35456
|
+
"location": {
|
|
35457
|
+
"type": "string",
|
|
35458
|
+
"nullable": true
|
|
35459
|
+
},
|
|
35460
|
+
"created_at": {
|
|
35461
|
+
"type": "string",
|
|
35462
|
+
"format": "date-time"
|
|
35463
|
+
},
|
|
35464
|
+
"updated_at": {
|
|
35465
|
+
"type": "string",
|
|
35466
|
+
"format": "date-time"
|
|
35467
|
+
},
|
|
35468
|
+
"admin": {
|
|
35469
|
+
"type": "boolean"
|
|
35470
|
+
},
|
|
35471
|
+
"owner": {
|
|
35472
|
+
"type": "boolean"
|
|
35473
|
+
},
|
|
35474
|
+
"client": {
|
|
35475
|
+
"type": "boolean"
|
|
35476
|
+
},
|
|
35477
|
+
"employee": {
|
|
35478
|
+
"type": "boolean"
|
|
35479
|
+
},
|
|
35480
|
+
"time_zone": {
|
|
35481
|
+
"type": "string"
|
|
35482
|
+
},
|
|
35483
|
+
"avatar_url": {
|
|
35484
|
+
"type": "string",
|
|
35485
|
+
"format": "uri"
|
|
35486
|
+
},
|
|
35487
|
+
"company": {
|
|
35488
|
+
"type": "object",
|
|
35489
|
+
"properties": {
|
|
35490
|
+
"id": {
|
|
35491
|
+
"type": "integer",
|
|
35492
|
+
"minimum": 0
|
|
35493
|
+
},
|
|
35494
|
+
"name": {
|
|
35495
|
+
"type": "string"
|
|
35496
|
+
}
|
|
35497
|
+
},
|
|
35498
|
+
"required": [
|
|
35499
|
+
"id",
|
|
35500
|
+
"name"
|
|
35501
|
+
]
|
|
35502
|
+
},
|
|
35503
|
+
"can_manage_projects": {
|
|
35504
|
+
"type": "boolean"
|
|
35505
|
+
},
|
|
35506
|
+
"can_manage_people": {
|
|
35507
|
+
"type": "boolean"
|
|
35508
|
+
}
|
|
35509
|
+
},
|
|
35510
|
+
"required": [
|
|
35511
|
+
"id",
|
|
35512
|
+
"attachable_sgid",
|
|
35513
|
+
"name",
|
|
35514
|
+
"email_address",
|
|
35515
|
+
"personable_type",
|
|
35516
|
+
"title",
|
|
35517
|
+
"bio",
|
|
35518
|
+
"location",
|
|
35519
|
+
"created_at",
|
|
35520
|
+
"updated_at",
|
|
35521
|
+
"admin",
|
|
35522
|
+
"owner",
|
|
35523
|
+
"client",
|
|
35524
|
+
"employee",
|
|
35525
|
+
"time_zone",
|
|
35526
|
+
"avatar_url",
|
|
35527
|
+
"can_manage_projects",
|
|
35528
|
+
"can_manage_people"
|
|
35529
|
+
]
|
|
35530
|
+
},
|
|
35531
|
+
"content": {
|
|
35532
|
+
"type": "string",
|
|
35533
|
+
"minLength": 0
|
|
35534
|
+
},
|
|
35535
|
+
"group_on": {
|
|
35536
|
+
"type": "string"
|
|
35537
|
+
}
|
|
35538
|
+
},
|
|
35539
|
+
"required": [
|
|
35540
|
+
"id",
|
|
35541
|
+
"status",
|
|
35542
|
+
"visible_to_clients",
|
|
35543
|
+
"created_at",
|
|
35544
|
+
"updated_at",
|
|
35545
|
+
"title",
|
|
35546
|
+
"inherits_status",
|
|
35547
|
+
"type",
|
|
35548
|
+
"url",
|
|
35549
|
+
"app_url",
|
|
35550
|
+
"bucket",
|
|
35551
|
+
"creator",
|
|
35552
|
+
"content",
|
|
35553
|
+
"group_on"
|
|
35554
|
+
]
|
|
35555
|
+
}
|
|
35556
|
+
}
|
|
35557
|
+
}
|
|
35558
|
+
}
|
|
35559
|
+
}
|
|
35560
|
+
},
|
|
35561
|
+
"operationId": "questionAnswers.list",
|
|
35562
|
+
"externalDocs": {
|
|
35563
|
+
"description": "Official Basecamp API Documentation",
|
|
35564
|
+
"url": "https://github.com/basecamp/bc3-api/docs/basecamp-api-specs/sections/question_answers.md#get-question-answers"
|
|
35565
|
+
},
|
|
35566
|
+
"security": [
|
|
35567
|
+
{
|
|
35568
|
+
"BearerAuth": []
|
|
35569
|
+
}
|
|
35570
|
+
],
|
|
35571
|
+
"x-client-method": "questionAnswers.list"
|
|
35572
|
+
},
|
|
35573
|
+
"post": {
|
|
35574
|
+
"description": "Create a new answer for a check-in question.",
|
|
35575
|
+
"summary": "Create a question answer",
|
|
35576
|
+
"tags": [
|
|
35577
|
+
"Question Answers"
|
|
35578
|
+
],
|
|
35579
|
+
"parameters": [
|
|
35580
|
+
{
|
|
35581
|
+
"name": "bucketId",
|
|
35582
|
+
"in": "path",
|
|
35583
|
+
"required": true,
|
|
35584
|
+
"schema": {
|
|
35585
|
+
"type": "integer",
|
|
35586
|
+
"minimum": 0,
|
|
35587
|
+
"nullable": true
|
|
35588
|
+
}
|
|
35589
|
+
},
|
|
35590
|
+
{
|
|
35591
|
+
"name": "questionId",
|
|
35592
|
+
"in": "path",
|
|
35593
|
+
"required": true,
|
|
35594
|
+
"schema": {
|
|
35595
|
+
"type": "integer",
|
|
35596
|
+
"minimum": 0,
|
|
35597
|
+
"nullable": true
|
|
35598
|
+
}
|
|
35599
|
+
},
|
|
35600
|
+
{
|
|
35601
|
+
"name": "Authorization",
|
|
35602
|
+
"in": "header",
|
|
35603
|
+
"required": true,
|
|
35604
|
+
"schema": {
|
|
35605
|
+
"type": "string",
|
|
35606
|
+
"minLength": 1
|
|
35607
|
+
}
|
|
35608
|
+
},
|
|
35609
|
+
{
|
|
35610
|
+
"name": "User-Agent",
|
|
35611
|
+
"in": "header",
|
|
35612
|
+
"schema": {
|
|
35613
|
+
"type": "string",
|
|
35614
|
+
"minLength": 1
|
|
35615
|
+
}
|
|
35616
|
+
},
|
|
35617
|
+
{
|
|
35618
|
+
"name": "Accept",
|
|
35619
|
+
"in": "header",
|
|
35620
|
+
"schema": {
|
|
35621
|
+
"type": "string",
|
|
35622
|
+
"enum": [
|
|
35623
|
+
"application/json"
|
|
35624
|
+
]
|
|
35625
|
+
}
|
|
35626
|
+
}
|
|
35627
|
+
],
|
|
35628
|
+
"requestBody": {
|
|
35629
|
+
"description": "Body",
|
|
35630
|
+
"content": {
|
|
35631
|
+
"application/json": {
|
|
35632
|
+
"schema": {
|
|
35633
|
+
"type": "object",
|
|
35634
|
+
"properties": {
|
|
35635
|
+
"content": {
|
|
35636
|
+
"type": "string",
|
|
35637
|
+
"minLength": 1
|
|
35638
|
+
},
|
|
35639
|
+
"group_on": {
|
|
35640
|
+
"type": "string"
|
|
35641
|
+
}
|
|
35642
|
+
},
|
|
35643
|
+
"required": [
|
|
35644
|
+
"content",
|
|
35645
|
+
"group_on"
|
|
35646
|
+
]
|
|
35647
|
+
}
|
|
35648
|
+
}
|
|
35649
|
+
}
|
|
35650
|
+
},
|
|
35651
|
+
"responses": {
|
|
35652
|
+
"201": {
|
|
35653
|
+
"description": "201",
|
|
35654
|
+
"content": {
|
|
35655
|
+
"application/json": {
|
|
35656
|
+
"schema": {
|
|
35657
|
+
"type": "object",
|
|
35658
|
+
"properties": {
|
|
35659
|
+
"id": {
|
|
35660
|
+
"type": "integer",
|
|
35661
|
+
"minimum": 0
|
|
35662
|
+
},
|
|
35663
|
+
"status": {
|
|
35664
|
+
"oneOf": [
|
|
35665
|
+
{
|
|
35666
|
+
"type": "string",
|
|
35667
|
+
"enum": [
|
|
35668
|
+
"active",
|
|
35669
|
+
"trashed"
|
|
35670
|
+
]
|
|
35671
|
+
},
|
|
35672
|
+
{
|
|
35673
|
+
"type": "string"
|
|
35674
|
+
}
|
|
35675
|
+
]
|
|
35676
|
+
},
|
|
35677
|
+
"visible_to_clients": {
|
|
35678
|
+
"type": "boolean"
|
|
35679
|
+
},
|
|
35680
|
+
"created_at": {
|
|
35681
|
+
"type": "string",
|
|
35682
|
+
"format": "date-time"
|
|
35683
|
+
},
|
|
35684
|
+
"updated_at": {
|
|
35685
|
+
"type": "string",
|
|
35686
|
+
"format": "date-time"
|
|
35687
|
+
},
|
|
35688
|
+
"title": {
|
|
35689
|
+
"type": "string"
|
|
35690
|
+
},
|
|
35691
|
+
"inherits_status": {
|
|
35692
|
+
"type": "boolean"
|
|
35693
|
+
},
|
|
35694
|
+
"type": {
|
|
35695
|
+
"type": "string",
|
|
35696
|
+
"enum": [
|
|
35697
|
+
"Question::Answer"
|
|
35698
|
+
]
|
|
35699
|
+
},
|
|
35700
|
+
"url": {
|
|
35701
|
+
"type": "string",
|
|
35702
|
+
"format": "uri"
|
|
35703
|
+
},
|
|
35704
|
+
"app_url": {
|
|
35705
|
+
"type": "string",
|
|
35706
|
+
"format": "uri"
|
|
35707
|
+
},
|
|
35708
|
+
"bookmark_url": {
|
|
35709
|
+
"type": "string",
|
|
35710
|
+
"format": "uri"
|
|
35711
|
+
},
|
|
35712
|
+
"subscription_url": {
|
|
35713
|
+
"type": "string",
|
|
35714
|
+
"format": "uri"
|
|
35715
|
+
},
|
|
35716
|
+
"comments_count": {
|
|
35717
|
+
"type": "integer",
|
|
35718
|
+
"minimum": 0
|
|
35719
|
+
},
|
|
35720
|
+
"comments_url": {
|
|
35721
|
+
"type": "string",
|
|
35722
|
+
"format": "uri"
|
|
35723
|
+
},
|
|
35724
|
+
"position": {
|
|
35725
|
+
"type": "integer",
|
|
35726
|
+
"minimum": 0
|
|
35727
|
+
},
|
|
35728
|
+
"parent": {
|
|
35729
|
+
"type": "object",
|
|
35730
|
+
"properties": {
|
|
35731
|
+
"id": {
|
|
35732
|
+
"type": "integer",
|
|
35733
|
+
"minimum": 0
|
|
35734
|
+
},
|
|
35735
|
+
"title": {
|
|
35736
|
+
"type": "string"
|
|
35737
|
+
},
|
|
35738
|
+
"type": {
|
|
35739
|
+
"type": "string"
|
|
35740
|
+
},
|
|
35741
|
+
"url": {
|
|
35742
|
+
"type": "string",
|
|
35743
|
+
"format": "uri"
|
|
35744
|
+
},
|
|
35745
|
+
"app_url": {
|
|
35746
|
+
"type": "string",
|
|
35747
|
+
"format": "uri"
|
|
35748
|
+
}
|
|
35749
|
+
},
|
|
35750
|
+
"required": [
|
|
35751
|
+
"id",
|
|
35752
|
+
"title",
|
|
35753
|
+
"type",
|
|
35754
|
+
"url",
|
|
35755
|
+
"app_url"
|
|
35756
|
+
]
|
|
35757
|
+
},
|
|
35758
|
+
"bucket": {
|
|
35759
|
+
"type": "object",
|
|
35760
|
+
"properties": {
|
|
35761
|
+
"id": {
|
|
35762
|
+
"type": "integer",
|
|
35763
|
+
"minimum": 0
|
|
35764
|
+
},
|
|
35765
|
+
"name": {
|
|
35766
|
+
"type": "string"
|
|
35767
|
+
},
|
|
35768
|
+
"type": {
|
|
35769
|
+
"type": "string"
|
|
35770
|
+
}
|
|
35771
|
+
},
|
|
35772
|
+
"required": [
|
|
35773
|
+
"id",
|
|
35774
|
+
"name",
|
|
35775
|
+
"type"
|
|
35776
|
+
]
|
|
35777
|
+
},
|
|
35778
|
+
"creator": {
|
|
35779
|
+
"type": "object",
|
|
35780
|
+
"properties": {
|
|
35781
|
+
"id": {
|
|
35782
|
+
"type": "integer",
|
|
35783
|
+
"minimum": 0
|
|
35784
|
+
},
|
|
35785
|
+
"attachable_sgid": {
|
|
35786
|
+
"type": "string",
|
|
35787
|
+
"minLength": 1
|
|
35788
|
+
},
|
|
35789
|
+
"name": {
|
|
35790
|
+
"type": "string"
|
|
35791
|
+
},
|
|
35792
|
+
"email_address": {
|
|
35793
|
+
"type": "string",
|
|
35794
|
+
"format": "email",
|
|
35795
|
+
"nullable": true
|
|
35796
|
+
},
|
|
35797
|
+
"personable_type": {
|
|
35798
|
+
"type": "string"
|
|
35799
|
+
},
|
|
35800
|
+
"title": {
|
|
35801
|
+
"type": "string",
|
|
35802
|
+
"nullable": true
|
|
35803
|
+
},
|
|
35804
|
+
"bio": {
|
|
35805
|
+
"type": "string",
|
|
35806
|
+
"nullable": true
|
|
35807
|
+
},
|
|
35808
|
+
"location": {
|
|
35809
|
+
"type": "string",
|
|
35810
|
+
"nullable": true
|
|
35811
|
+
},
|
|
35812
|
+
"created_at": {
|
|
35813
|
+
"type": "string",
|
|
35814
|
+
"format": "date-time"
|
|
35815
|
+
},
|
|
35816
|
+
"updated_at": {
|
|
35817
|
+
"type": "string",
|
|
35818
|
+
"format": "date-time"
|
|
35819
|
+
},
|
|
35820
|
+
"admin": {
|
|
35821
|
+
"type": "boolean"
|
|
35822
|
+
},
|
|
35823
|
+
"owner": {
|
|
35824
|
+
"type": "boolean"
|
|
35825
|
+
},
|
|
35826
|
+
"client": {
|
|
35827
|
+
"type": "boolean"
|
|
35828
|
+
},
|
|
35829
|
+
"employee": {
|
|
35830
|
+
"type": "boolean"
|
|
35831
|
+
},
|
|
35832
|
+
"time_zone": {
|
|
35833
|
+
"type": "string"
|
|
35834
|
+
},
|
|
35835
|
+
"avatar_url": {
|
|
35836
|
+
"type": "string",
|
|
35837
|
+
"format": "uri"
|
|
35838
|
+
},
|
|
35839
|
+
"company": {
|
|
35840
|
+
"type": "object",
|
|
35841
|
+
"properties": {
|
|
35842
|
+
"id": {
|
|
35843
|
+
"type": "integer",
|
|
35844
|
+
"minimum": 0
|
|
35845
|
+
},
|
|
35846
|
+
"name": {
|
|
35847
|
+
"type": "string"
|
|
35848
|
+
}
|
|
35849
|
+
},
|
|
35850
|
+
"required": [
|
|
35851
|
+
"id",
|
|
35852
|
+
"name"
|
|
35853
|
+
]
|
|
35854
|
+
},
|
|
35855
|
+
"can_manage_projects": {
|
|
35856
|
+
"type": "boolean"
|
|
35857
|
+
},
|
|
35858
|
+
"can_manage_people": {
|
|
35859
|
+
"type": "boolean"
|
|
35860
|
+
}
|
|
35861
|
+
},
|
|
35862
|
+
"required": [
|
|
35863
|
+
"id",
|
|
35864
|
+
"attachable_sgid",
|
|
35865
|
+
"name",
|
|
35866
|
+
"email_address",
|
|
35867
|
+
"personable_type",
|
|
35868
|
+
"title",
|
|
35869
|
+
"bio",
|
|
35870
|
+
"location",
|
|
35871
|
+
"created_at",
|
|
35872
|
+
"updated_at",
|
|
35873
|
+
"admin",
|
|
35874
|
+
"owner",
|
|
35875
|
+
"client",
|
|
35876
|
+
"employee",
|
|
35877
|
+
"time_zone",
|
|
35878
|
+
"avatar_url",
|
|
35879
|
+
"can_manage_projects",
|
|
35880
|
+
"can_manage_people"
|
|
35881
|
+
]
|
|
35882
|
+
},
|
|
35883
|
+
"content": {
|
|
35884
|
+
"type": "string",
|
|
35885
|
+
"minLength": 0
|
|
35886
|
+
},
|
|
35887
|
+
"group_on": {
|
|
35888
|
+
"type": "string"
|
|
35889
|
+
}
|
|
35890
|
+
},
|
|
35891
|
+
"required": [
|
|
35892
|
+
"id",
|
|
35893
|
+
"status",
|
|
35894
|
+
"visible_to_clients",
|
|
35895
|
+
"created_at",
|
|
35896
|
+
"updated_at",
|
|
35897
|
+
"title",
|
|
35898
|
+
"inherits_status",
|
|
35899
|
+
"type",
|
|
35900
|
+
"url",
|
|
35901
|
+
"app_url",
|
|
35902
|
+
"bucket",
|
|
35903
|
+
"creator",
|
|
35904
|
+
"content",
|
|
35905
|
+
"group_on"
|
|
35906
|
+
]
|
|
35907
|
+
}
|
|
35908
|
+
}
|
|
35909
|
+
}
|
|
35910
|
+
}
|
|
35911
|
+
},
|
|
35912
|
+
"operationId": "questionAnswers.create",
|
|
35913
|
+
"externalDocs": {
|
|
35914
|
+
"description": "Official Basecamp API Documentation",
|
|
35915
|
+
"url": "https://github.com/basecamp/bc3-api/docs/basecamp-api-specs/sections/question_answers.md#get-question-answers"
|
|
35916
|
+
},
|
|
35917
|
+
"security": [
|
|
35918
|
+
{
|
|
35919
|
+
"BearerAuth": []
|
|
35920
|
+
}
|
|
35921
|
+
],
|
|
35922
|
+
"x-client-method": "questionAnswers.create"
|
|
35923
|
+
}
|
|
35924
|
+
},
|
|
35925
|
+
"/buckets/{bucketId}/question_answers/{answerId}": {
|
|
35926
|
+
"get": {
|
|
35927
|
+
"description": "Returns a single question answer by its ID.",
|
|
35928
|
+
"summary": "Get a question answer",
|
|
35929
|
+
"tags": [
|
|
35930
|
+
"Question Answers"
|
|
35931
|
+
],
|
|
35932
|
+
"parameters": [
|
|
35933
|
+
{
|
|
35934
|
+
"name": "bucketId",
|
|
35935
|
+
"in": "path",
|
|
35936
|
+
"required": true,
|
|
35937
|
+
"schema": {
|
|
35938
|
+
"type": "integer",
|
|
35939
|
+
"minimum": 0,
|
|
35940
|
+
"nullable": true
|
|
35941
|
+
}
|
|
35942
|
+
},
|
|
35943
|
+
{
|
|
35944
|
+
"name": "answerId",
|
|
35945
|
+
"in": "path",
|
|
35946
|
+
"required": true,
|
|
35947
|
+
"schema": {
|
|
35948
|
+
"type": "integer",
|
|
35949
|
+
"minimum": 0,
|
|
35950
|
+
"nullable": true
|
|
35951
|
+
}
|
|
35952
|
+
},
|
|
35953
|
+
{
|
|
35954
|
+
"name": "Authorization",
|
|
35955
|
+
"in": "header",
|
|
35956
|
+
"required": true,
|
|
35957
|
+
"schema": {
|
|
35958
|
+
"type": "string",
|
|
35959
|
+
"minLength": 1
|
|
35960
|
+
}
|
|
35961
|
+
},
|
|
35962
|
+
{
|
|
35963
|
+
"name": "User-Agent",
|
|
35964
|
+
"in": "header",
|
|
35965
|
+
"schema": {
|
|
35966
|
+
"type": "string",
|
|
35967
|
+
"minLength": 1
|
|
35968
|
+
}
|
|
35969
|
+
},
|
|
35970
|
+
{
|
|
35971
|
+
"name": "Accept",
|
|
35972
|
+
"in": "header",
|
|
35973
|
+
"schema": {
|
|
35974
|
+
"type": "string",
|
|
35975
|
+
"enum": [
|
|
35976
|
+
"application/json"
|
|
35977
|
+
]
|
|
35978
|
+
}
|
|
35979
|
+
}
|
|
35980
|
+
],
|
|
35981
|
+
"responses": {
|
|
35982
|
+
"200": {
|
|
35983
|
+
"description": "200",
|
|
35984
|
+
"content": {
|
|
35985
|
+
"application/json": {
|
|
35986
|
+
"schema": {
|
|
35987
|
+
"type": "object",
|
|
35988
|
+
"properties": {
|
|
35989
|
+
"id": {
|
|
35990
|
+
"type": "integer",
|
|
35991
|
+
"minimum": 0
|
|
35992
|
+
},
|
|
35993
|
+
"status": {
|
|
35994
|
+
"oneOf": [
|
|
35995
|
+
{
|
|
35996
|
+
"type": "string",
|
|
35997
|
+
"enum": [
|
|
35998
|
+
"active",
|
|
35999
|
+
"trashed"
|
|
36000
|
+
]
|
|
36001
|
+
},
|
|
36002
|
+
{
|
|
36003
|
+
"type": "string"
|
|
36004
|
+
}
|
|
36005
|
+
]
|
|
36006
|
+
},
|
|
36007
|
+
"visible_to_clients": {
|
|
36008
|
+
"type": "boolean"
|
|
36009
|
+
},
|
|
36010
|
+
"created_at": {
|
|
36011
|
+
"type": "string",
|
|
36012
|
+
"format": "date-time"
|
|
36013
|
+
},
|
|
36014
|
+
"updated_at": {
|
|
36015
|
+
"type": "string",
|
|
36016
|
+
"format": "date-time"
|
|
36017
|
+
},
|
|
36018
|
+
"title": {
|
|
36019
|
+
"type": "string"
|
|
36020
|
+
},
|
|
36021
|
+
"inherits_status": {
|
|
36022
|
+
"type": "boolean"
|
|
36023
|
+
},
|
|
36024
|
+
"type": {
|
|
36025
|
+
"type": "string",
|
|
36026
|
+
"enum": [
|
|
36027
|
+
"Question::Answer"
|
|
36028
|
+
]
|
|
36029
|
+
},
|
|
36030
|
+
"url": {
|
|
36031
|
+
"type": "string",
|
|
36032
|
+
"format": "uri"
|
|
36033
|
+
},
|
|
36034
|
+
"app_url": {
|
|
36035
|
+
"type": "string",
|
|
36036
|
+
"format": "uri"
|
|
36037
|
+
},
|
|
36038
|
+
"bookmark_url": {
|
|
36039
|
+
"type": "string",
|
|
36040
|
+
"format": "uri"
|
|
36041
|
+
},
|
|
36042
|
+
"subscription_url": {
|
|
36043
|
+
"type": "string",
|
|
36044
|
+
"format": "uri"
|
|
36045
|
+
},
|
|
36046
|
+
"comments_count": {
|
|
36047
|
+
"type": "integer",
|
|
36048
|
+
"minimum": 0
|
|
36049
|
+
},
|
|
36050
|
+
"comments_url": {
|
|
36051
|
+
"type": "string",
|
|
36052
|
+
"format": "uri"
|
|
36053
|
+
},
|
|
36054
|
+
"position": {
|
|
36055
|
+
"type": "integer",
|
|
36056
|
+
"minimum": 0
|
|
36057
|
+
},
|
|
36058
|
+
"parent": {
|
|
36059
|
+
"type": "object",
|
|
36060
|
+
"properties": {
|
|
36061
|
+
"id": {
|
|
36062
|
+
"type": "integer",
|
|
36063
|
+
"minimum": 0
|
|
36064
|
+
},
|
|
36065
|
+
"title": {
|
|
36066
|
+
"type": "string"
|
|
36067
|
+
},
|
|
36068
|
+
"type": {
|
|
36069
|
+
"type": "string"
|
|
36070
|
+
},
|
|
36071
|
+
"url": {
|
|
36072
|
+
"type": "string",
|
|
36073
|
+
"format": "uri"
|
|
36074
|
+
},
|
|
36075
|
+
"app_url": {
|
|
36076
|
+
"type": "string",
|
|
36077
|
+
"format": "uri"
|
|
36078
|
+
}
|
|
36079
|
+
},
|
|
36080
|
+
"required": [
|
|
36081
|
+
"id",
|
|
36082
|
+
"title",
|
|
36083
|
+
"type",
|
|
36084
|
+
"url",
|
|
36085
|
+
"app_url"
|
|
36086
|
+
]
|
|
36087
|
+
},
|
|
36088
|
+
"bucket": {
|
|
36089
|
+
"type": "object",
|
|
36090
|
+
"properties": {
|
|
36091
|
+
"id": {
|
|
36092
|
+
"type": "integer",
|
|
36093
|
+
"minimum": 0
|
|
36094
|
+
},
|
|
36095
|
+
"name": {
|
|
36096
|
+
"type": "string"
|
|
36097
|
+
},
|
|
36098
|
+
"type": {
|
|
36099
|
+
"type": "string"
|
|
36100
|
+
}
|
|
36101
|
+
},
|
|
36102
|
+
"required": [
|
|
36103
|
+
"id",
|
|
36104
|
+
"name",
|
|
36105
|
+
"type"
|
|
36106
|
+
]
|
|
36107
|
+
},
|
|
36108
|
+
"creator": {
|
|
36109
|
+
"type": "object",
|
|
36110
|
+
"properties": {
|
|
36111
|
+
"id": {
|
|
36112
|
+
"type": "integer",
|
|
36113
|
+
"minimum": 0
|
|
36114
|
+
},
|
|
36115
|
+
"attachable_sgid": {
|
|
36116
|
+
"type": "string",
|
|
36117
|
+
"minLength": 1
|
|
36118
|
+
},
|
|
36119
|
+
"name": {
|
|
36120
|
+
"type": "string"
|
|
36121
|
+
},
|
|
36122
|
+
"email_address": {
|
|
36123
|
+
"type": "string",
|
|
36124
|
+
"format": "email",
|
|
36125
|
+
"nullable": true
|
|
36126
|
+
},
|
|
36127
|
+
"personable_type": {
|
|
36128
|
+
"type": "string"
|
|
36129
|
+
},
|
|
36130
|
+
"title": {
|
|
36131
|
+
"type": "string",
|
|
36132
|
+
"nullable": true
|
|
36133
|
+
},
|
|
36134
|
+
"bio": {
|
|
36135
|
+
"type": "string",
|
|
36136
|
+
"nullable": true
|
|
36137
|
+
},
|
|
36138
|
+
"location": {
|
|
36139
|
+
"type": "string",
|
|
36140
|
+
"nullable": true
|
|
36141
|
+
},
|
|
36142
|
+
"created_at": {
|
|
36143
|
+
"type": "string",
|
|
36144
|
+
"format": "date-time"
|
|
36145
|
+
},
|
|
36146
|
+
"updated_at": {
|
|
36147
|
+
"type": "string",
|
|
36148
|
+
"format": "date-time"
|
|
36149
|
+
},
|
|
36150
|
+
"admin": {
|
|
36151
|
+
"type": "boolean"
|
|
36152
|
+
},
|
|
36153
|
+
"owner": {
|
|
36154
|
+
"type": "boolean"
|
|
36155
|
+
},
|
|
36156
|
+
"client": {
|
|
36157
|
+
"type": "boolean"
|
|
36158
|
+
},
|
|
36159
|
+
"employee": {
|
|
36160
|
+
"type": "boolean"
|
|
36161
|
+
},
|
|
36162
|
+
"time_zone": {
|
|
36163
|
+
"type": "string"
|
|
36164
|
+
},
|
|
36165
|
+
"avatar_url": {
|
|
36166
|
+
"type": "string",
|
|
36167
|
+
"format": "uri"
|
|
36168
|
+
},
|
|
36169
|
+
"company": {
|
|
36170
|
+
"type": "object",
|
|
36171
|
+
"properties": {
|
|
36172
|
+
"id": {
|
|
36173
|
+
"type": "integer",
|
|
36174
|
+
"minimum": 0
|
|
36175
|
+
},
|
|
36176
|
+
"name": {
|
|
36177
|
+
"type": "string"
|
|
36178
|
+
}
|
|
36179
|
+
},
|
|
36180
|
+
"required": [
|
|
36181
|
+
"id",
|
|
36182
|
+
"name"
|
|
36183
|
+
]
|
|
36184
|
+
},
|
|
36185
|
+
"can_manage_projects": {
|
|
36186
|
+
"type": "boolean"
|
|
36187
|
+
},
|
|
36188
|
+
"can_manage_people": {
|
|
36189
|
+
"type": "boolean"
|
|
36190
|
+
}
|
|
36191
|
+
},
|
|
36192
|
+
"required": [
|
|
36193
|
+
"id",
|
|
36194
|
+
"attachable_sgid",
|
|
36195
|
+
"name",
|
|
36196
|
+
"email_address",
|
|
36197
|
+
"personable_type",
|
|
36198
|
+
"title",
|
|
36199
|
+
"bio",
|
|
36200
|
+
"location",
|
|
36201
|
+
"created_at",
|
|
36202
|
+
"updated_at",
|
|
36203
|
+
"admin",
|
|
36204
|
+
"owner",
|
|
36205
|
+
"client",
|
|
36206
|
+
"employee",
|
|
36207
|
+
"time_zone",
|
|
36208
|
+
"avatar_url",
|
|
36209
|
+
"can_manage_projects",
|
|
36210
|
+
"can_manage_people"
|
|
36211
|
+
]
|
|
36212
|
+
},
|
|
36213
|
+
"content": {
|
|
36214
|
+
"type": "string",
|
|
36215
|
+
"minLength": 0
|
|
36216
|
+
},
|
|
36217
|
+
"group_on": {
|
|
36218
|
+
"type": "string"
|
|
36219
|
+
}
|
|
36220
|
+
},
|
|
36221
|
+
"required": [
|
|
36222
|
+
"id",
|
|
36223
|
+
"status",
|
|
36224
|
+
"visible_to_clients",
|
|
36225
|
+
"created_at",
|
|
36226
|
+
"updated_at",
|
|
36227
|
+
"title",
|
|
36228
|
+
"inherits_status",
|
|
36229
|
+
"type",
|
|
36230
|
+
"url",
|
|
36231
|
+
"app_url",
|
|
36232
|
+
"bucket",
|
|
36233
|
+
"creator",
|
|
36234
|
+
"content",
|
|
36235
|
+
"group_on"
|
|
36236
|
+
]
|
|
36237
|
+
}
|
|
36238
|
+
}
|
|
36239
|
+
}
|
|
36240
|
+
}
|
|
36241
|
+
},
|
|
36242
|
+
"operationId": "questionAnswers.get",
|
|
36243
|
+
"externalDocs": {
|
|
36244
|
+
"description": "Official Basecamp API Documentation",
|
|
36245
|
+
"url": "https://github.com/basecamp/bc3-api/docs/basecamp-api-specs/sections/question_answers.md#get-a-question-answer"
|
|
36246
|
+
},
|
|
36247
|
+
"security": [
|
|
36248
|
+
{
|
|
36249
|
+
"BearerAuth": []
|
|
36250
|
+
}
|
|
36251
|
+
],
|
|
36252
|
+
"x-client-method": "questionAnswers.get"
|
|
36253
|
+
}
|
|
36254
|
+
},
|
|
35231
36255
|
"/buckets/{bucketId}/vaults/{vaultId}/documents": {
|
|
35232
36256
|
"get": {
|
|
35233
36257
|
"description": "Returns a paginated list of active documents in a vault. Pagination data is available via the Link and X-Total-Count headers.",
|
|
@@ -35641,7 +36665,7 @@
|
|
|
35641
36665
|
"type": "string",
|
|
35642
36666
|
"enum": [
|
|
35643
36667
|
"active",
|
|
35644
|
-
"
|
|
36668
|
+
"drafted"
|
|
35645
36669
|
]
|
|
35646
36670
|
},
|
|
35647
36671
|
{
|