JUMP TODiffgram APIAuthenticationSoftware Development Kit (SDK)DiscussionsCreate Discussion CommentpostInput / File Uploadsfrom_urlfrom_blob_pathpostSigned URLsInput From PacketpostInput From LocalpostGet Directory Listgetset_directory_by_nameFile CopypostNew Compound FilegetSchemaNew SchemapostNew LabelpostGet LabelAttribute Template NewpostAttribute Template UpdateputCreate Option AttributepostSchemas ListgetGet Labels ListgetGet Attributes ListpostUpdate/Archive SchemapatchJobJob NewpostJob CancelpostJob ListpostJob File AttachpostJob Info & Job StatuspostGuide NewpostGuide Attach JobpostGuide Edit / UpdatepostVideoInstance BufferpostGet FramegetVideo File InfopostExportExport FormatExport Job Generate NewpostExport Metadata ListgetExport Access DatapostTasksTask ListpostTagsTags ListgetRoles & PermissionsRole CreatepostRole Remove PermissionpatchRole Add PermissionpatchRole DeletedeleteRole Assign To UserpatchRoles ListgetDiffgram Walrus APIExportsList ExportsgetWalrus APIGetting Started With Your APIDefault Diffgram APIGetting Started With Your APIPowered by Role Createpost https://diffgram.com/api/v1/project/{project_string_id}/roles/newCreates a custom role on the project.SDK my_custom_role = project.roles.new(name='my_custom_role')