検索

2.19. hammer content-import

download PDF

アップストリームアーカイブからコンテンツをインポートします。

Usage:
    hammer content-import [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 library                       Imports a content archive to an organization's library lifecycle environment
 list, index                   View content view import histories
 version                       Imports a content archive to a content view version

Options:
 -h, --help                    Print help

2.19.1. hammer content-import library

コンテンツのライブラリーライフサイクル環境にコンテンツアーカイブをインポートします。

Usage:
    hammer content-import library [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --metadata-file METADATA_FILE           Location of the metadata.json file. This is not required if the metadata.json file is already in the archive directory.
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --path PATH                             Directory containing the exported Content View Version
 -h, --help                              Print help

2.19.2. hammer content-import list

コンテンツビューのインポート履歴を表示します。

Usage:
    hammer content-import <list|index> [OPTIONS]

Options:
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   Content view identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --fields FIELDS                                     Show specified fields or predefined field sets only. (See below)
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                     JSON is acceptable and preferred way for complex parameters
 --full-result FULL_RESULT                           Whether or not to show all results
                                                     One of true/false, yes/no, 1/0.
 --id ID                                             Content view version import history identifier
 --order ORDER                                       Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   Organization identifier
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --organization-title ORGANIZATION_TITLE             Organization title
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --search SEARCH                                     Search string
 --type TYPE                                         Import Types
                                                     Possible value(s): 'complete', 'incremental'
 -h, --help                                          Print help

Predefined field sets:
  ------------------------|-----|---------|-----
  FIELDS                  | ALL | DEFAULT | THIN
  ------------------------|-----|---------|-----
  Id                      | x   | x       | x
  Path                    | x   | x       |
  Type                    | x   | x       |
  Content view version    | x   | x       |
  Content view version id | x   | x       |
  Created at              | x   | x       |
  Updated at              | x   | x       |
  ------------------------|-----|---------|-----

Search / Order fields:
  content_view_id          integer
  content_view_version_id  integer
  id                       integer
  type                     string

2.19.3. hammer content-import version

コンテンツアーカイブをコンテンツビューバージョンにインポートします。

Usage:
    hammer content-import version [OPTIONS]

Options:
 --async                                 Do not wait for the task
 --metadata-file METADATA_FILE           Location of the metadata.json file. This is not required if the metadata.json file is already in the archive directory.
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --path PATH                             Directory containing the exported Content View Version
 -h, --help                              Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.