pauel
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # backlog apiの調査 一応、公式のライブラリ:[サイト](https://github.com/kitadakyou/PyBacklogPy) ## 認証 「APIキーを発行」して行うものと、「OATH2.0」を利用するものの2種類 現在いただいるレポジトリでは、apiキーを用いた認証をしています。 ## 機能一覧 ### スペース * 情報取得 * スペースアイコン更新 * スペースのお知らせ更新 * スペースの容量状況取得 ### ユーザー * 一覧取得 * ユーザー情報取得 * 追加 * 更新 * 削除 * ユーザーアイコン取得 * 最近の活動取得 * 受け取ったスターの数取得 ##### APIとの認証に使用するユーザー関連 * ユーザー情報取得 * 「最近見た課題」一覧の取得 * 「最近見たプロジェクト」一覧の取得 * 「最近見たWiki」一覧の取得 ### チーム * 一覧取得 * 追加 * チーム情報の取得 * チーム情報の更新 * 削除 * アイコン取得 ### プロジェクト * 一覧取得 * 追加 * プロジェクト情報の取得 * プロジェクト情報の更新 * 削除 * アイコンの取得 * 「最近の課題」を取得 * プロジェクトユーザーの追加 * プロジェクトユーザーの一覧取得 * プロジェクトユーザーの削除 * プロジェクト管理者の追加 * プロジェクト管理者の一覧取得 * プロジェクト管理者の削除 * プロジェクト固有の課題に設定できる状態の一覧を取得 ##### 状態 * 追加 * 更新 * 並べ替え ##### 種別 * 一覧取得 * 追加 * 更新 * 削除 ##### カテゴリー * 一覧取得 * 追加 * 情報の更新 * 削除 ##### バージョン(マイルストーン) * 一覧取得 * 追加 * 情報の更新 * 削除 ##### カスタム属性 * 一覧取得 * 追加 * 更新 * 削除 * 選択リストカスタム属性のリスト項目の更新・削除 ##### 共有ファイル * 一覧取得 * ダウンロード ##### Webhook * 一覧取得 * 追加 * 取得 * 更新 * 削除 ##### プロジェクトチーム * 一覧取得 * 追加 * 削除 ### 課題 * 課題に設定できる優先度の一覧取得 * 完了理由一覧取得 * 一覧取得 * 課題数の取得 * 追加 * 情報の取得 * 情報の更新 * 削除 * 参加者の一覧取得 ##### 課題コメント * 取得 * 追加 * コメント数の取得 * 情報の取得 * 削除 * 情報の更新 * お知らせ一覧の取得 * お知らせを追加 ##### 課題添付ファイル * 一覧取得 * ダウンロード * 削除 ##### 課題内での共有ファイルの扱い * 課題共有ファイルの一覧を取得 * 課題に共有ファイルをリンク * 課題共有ファイルのリンクを解除 ### Wiki * 一覧取得 * ページ数の取得 * ページタグの一覧取得 * 追加 * 情報の取得 * 情報の更新 * 削除 ##### Wiki添付ファイル * 一覧取得 * 追加 * ダウンロード * 削除 ##### Wiki内共有ファイルの扱い * Wiki内共有ファイルの一覧取得 * 共有ファイルをWikiにリンク * Wiki共有ファイルのリンクを解除 ##### その他 * Wikiページ更新履歴の一覧取得 * Wikiページのスター一覧取得 * スターの追加 ### お知らせ ### Git * リポジトリの一覧取得 * リポジトリ取得 ##### プルリクエスト * 一覧取得 * プルリクエスト数取得 * 追加 * 取得 * 更新 ##### プルリクエストコメント * 取得 * 追加 * コメント数の取得 * コメント更新 ##### プルリクエスト添付ファイル * 一覧取得 * ダウンロード * 削除 ##### ウォッチ関連 ### ファイル * 添付ファイルの送信 (課題、コメントまたはWikiに添付するファイルを送信し、添付ファイルに発行されたIDを取得します。送信されたファイルは添付された後に削除されます。また添付されなかった場合は1時間後に削除されます) ### その他 * ライセンス情報の取得 * 使用中のAPIキーに対するレート制限に関する情報取得 ## まとめ ### 構造 * 「プロジェクト」が一番上で、その中に「課題・Wiki・git・チーム」等が内包されている。 ### ファイル * ファイルの追加は、可能 * 共有ファイルについては、最も階層が上のプロジェクトでは、共有ファイルの一覧取得とダウンロードのみ。      * 「課題・Wiki」の共有ファイルについては、一覧の取得に加えて、プロジェクトの共有ファイルをリンクしたり、それを解除できる。 * 添付ファイルについては、「プロジェクト・課題・Wiki」のすべてで、「一覧取得・ダウンロード・削除・追加」があるようですが、公式のライブラリーには実装されていないようです。 * 以上より、「フォルダを作るapi」や、「プロジェクトの添付ファイルを共有ファイルにするapi」すらないようなので、ファイル関連ではできることはあまりないなという印象です。 ### プロジェクト * 「状態を一気に更新したり、管理者を一気に追加する、ユーザーを一気に追加or削除する」などあまり使わない用途しかなさそうです。そもそも1つのプロジェクトしか使っていないため、用途はないかなと思います。 * git・課題についても手動での確認が必要なため、このような機能は必要ないかなと思います。 ## 実験結果 - ファイルについては、課題とwikiに追加することが出来るが、それぞれ課題orwikiのIDを指定してファイルの追加等する形で、フォルダという概念がこの2つの中にない。 - フォルダの概念があるのは、「プロジェクトの共有フォルダ」だけだが、そこに対して操作を加えるAPIは存在しない。 ## ※課題・WIKIのプロジェクトIDの簡易的な確認方法 更新したい課題の「課題ID」を引数として、以下のように実行します。 > python sample01.py <課題ID> ここで、更新したい課題の課題IDをどのように確認するのか。 全てをスクリプト内で完結するならば、課題IDを確認するスクリプトも作り、連携を試みるところです。 しかし、「背景」のセクションで記した通り「スピード重視」の方針で、 以下の通りささっと確認する方法を使います。 まずはBacklogにWebブラウザからログインし、「課題」メニューの検索条件で、更新対象の課題を含む条件で検索し、一覧に更新対象の課題を表示させます。 その状態で、右の「・・・」メニューをクリックし、「Excel」を選択します。 課題一覧がExcel形式でダウンロードされるのでファイルを開くと、更新対象の課題に対する「ID」が確認できます。これが「課題ID」です。 上記「Excel」を選択した手順の途中で、「CSV」を選択するとCSV形式のデータエクスポートも可能ですが、Excelファイルのほうが見やすいです。 ## 添付ファイルの送信 - まず、ファイルをアップロードし、そのアップロードファイルのIDを取得 - そのIDを用いて、指定した課題orWiki等のIDのところに、ファイルを添付する - 一度、添付すると、ファイルのIDは消去される!(つまり、どこかにアップすれば二重でファイル情報が残ることはない) - ファイルの操作には、 - すべてそのファイルが属しているもののID - そのファイル自体のID 2種類が必要となる。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully