Skip to content

API v2 spec #229

Closed
Closed
@chriddyp

Description

@chriddyp

now that so many resources have endpoints, we should probably outline some type of spec for how we want to abstract out all of the API endpoints in the python client:

  • exposing private url

    py.plot(fig, filename='priv', world_readable=False, secret_link=True)
    
  • moving, renaming files and folders

    py.files.move(old_path, new_path)
    py.files.rename(old_path, new_path)
    
  • listing files

    files = py.files.list(path='') 
    # what gets returned? json objects or `plotly.file_objs` that you can take action on?
    files[0].rename('new_name') # ?
    files[0].download() # ?
    
  • revisiting plotly.grid_objs and py.grid

  • etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions