You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.
43100
+
43101
+
The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments.
43102
+
43103
+
You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
The error was found in core/models.py in get_or_create_user at line 62.
43195
+
43196
+
self.save()
43197
+
'422':
43198
+
description: Validation failed
43199
+
content: *22
43200
+
'404':
43201
+
description: Resource not found
43202
+
content: *10
43203
+
'410':
43204
+
description: Gone
43205
+
content: *163
43206
+
'415':
43207
+
description: Preview header missing
43208
+
content: *13
43209
+
'304':
43210
+
description: Not modified
43211
+
'403':
43212
+
description: Forbidden
43213
+
content: *17
43214
+
x-github:
43215
+
githubCloudOnly: false
43216
+
enabledForGitHubApps: true
43217
+
previews:
43218
+
- required: true
43219
+
name: corsair
43220
+
note: |-
43221
+
To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:
Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` and `repository` `full_name` of the content reference from the [`content_reference` event](https://docs.github.com/webhooks/event-payloads/#content_reference) to create an attachment.
79232
-
79233
-
The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://docs.github.com/apps/using-content-attachments/)" for details about content attachments.
79234
-
79235
-
You must use an [installation access token](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
The error was found in core/models.py in get_or_create_user at line 62.
79327
-
79328
-
self.save()
79329
-
'422':
79330
-
description: Validation failed
79331
-
content: *22
79332
-
'404':
79333
-
description: Resource not found
79334
-
content: *10
79335
-
'410':
79336
-
description: Gone
79337
-
content: *163
79338
-
'415':
79339
-
description: Preview header missing
79340
-
content: *13
79341
-
'304':
79342
-
description: Not modified
79343
-
'403':
79344
-
description: Forbidden
79345
-
content: *17
79346
-
x-github:
79347
-
githubCloudOnly: false
79348
-
enabledForGitHubApps: true
79349
-
previews:
79350
-
- required: true
79351
-
name: corsair
79352
-
note: |-
79353
-
To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:
0 commit comments