Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

tById: Discourse Topic by ID

read only REST

  • 카탈로그: Discourse
  • 스키마: Topics
  • Label: Topic by ID

Get a single topic

데이터만 조회할 수 있습니다.

요약

Get a single topic

API 소스

  • 종점: /t/{id}.json
  • 작전: get /t/{id}.json

성능 특성

특징 값
평균 액세스 지연 시간 (ms) 243
분당 행 수 219

결과는 클라이언트에 캐시될 수 있습니다.

매개변수

이름 데이터 유형 필요한 공간 기본값 문서
id ``
print `` Will return up to 1000 posts in a topic

표의 열

표 tById의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.

이름 데이터 유형 라벨 필요한 공간 점수 문서
archetype varchar2 아키타입 플랫폼의 필터, 쓰기 가능, archetype
archived char 보관됨 플랫폼의 필터, 쓰기 가능, archived
bookmarked varchar2 즐겨찾기에 추가됨 writable 중첩된 객체의 JSON 텍스트입니다.
category_id decimal 카테고리 ID 플랫폼의 필터, 쓰기 가능, category_id
chunk_size decimal 청크 크기 플랫폼의 필터, 쓰기 가능, chunk_size
closed char 마감됨 플랫폼의 필터, 쓰기 가능, closed
created_at varchar2 작성일: 플랫폼의 필터, 쓰기 가능, created_at
deleted_at varchar2 삭제 일시: writable 중첩된 객체의 JSON 텍스트입니다.
deleted_by varchar2 삭제자: writable 중첩된 객체의 JSON 텍스트입니다.
details_auto_close_at varchar2 itgen_dce_details_auto_close_at writable 중첩된 객체의 JSON 텍스트입니다.
details_auto_close_based_on_last_post char 마지막 게시물을 기준으로 자동 닫기 세부 정보 플랫폼의 필터, 쓰기 가능, details.auto_close_based_on_last_post
details_auto_close_hours varchar2 itgen_dce_details_auto_close_hours writable 중첩된 객체의 JSON 텍스트입니다.
details_can_flag_topic char 상세 정보에서 주제를 표시할 수 있음 플랫폼의 필터, 쓰기 가능, details.can_flag_topic
details_created_by_avatar_template varchar2 아바타 템플릿으로 생성된 세부 정보 플랫폼의 필터, 쓰기 가능, details.created_by.avatar_template
details_created_by_id decimal 상세 정보 작성자: ID 플랫폼의 필터, 쓰기 가능, details.created_by.id
details_created_by_username varchar2 사용자 이름별 상세 정보 플랫폼의 필터, 쓰기 가능, details.created_by.username
details_last_poster_avatar_template varchar2 상세 정보: 마지막 게시자 아바타 템플릿 플랫폼의 필터, 쓰기 가능, details.last_poster.avatar_template
details_last_poster_id decimal 상세 정보: 마지막 게시자 ID 플랫폼의 필터, 쓰기 가능, details.last_poster.id
details_last_poster_username varchar2 상세 정보 마지막 게시자 사용자 이름 플랫폼의 필터, 쓰기 가능, details.last_poster.username
details_notification_level decimal 세부 알림 수준 플랫폼의 필터, 쓰기 가능, details.notification_level
draft varchar2 초안 writable 중첩된 객체의 JSON 텍스트입니다.
draft_key varchar2 드래프트 키 플랫폼의 필터, 쓰기 가능, draft_key
draft_sequence varchar2 드래프트 시퀀스 writable 중첩된 객체의 JSON 텍스트입니다.
fancy_title varchar2 멋진 제목 플랫폼의 필터, 쓰기 가능, fancy_title
has_summary char 요약 있음 플랫폼의 필터, 쓰기 가능, has_summary
highest_post_number decimal 게시물 수가 가장 많은 게시물 플랫폼의 필터, 쓰기 가능, highest_post_number
id decimal ID 플랫폼의 필터, 쓰기 가능, id
last_posted_at varchar2 마지막 게시일: writable 중첩된 객체의 JSON 텍스트입니다.
like_count decimal #Likes 플랫폼의 필터, 쓰기 가능, like_count
participant_count decimal 참가자 수 플랫폼의 필터, 쓰기 가능, participant_count
pinned char 고정됨 플랫폼의 필터, 쓰기 가능, pinned
pinned_at varchar2 고정됨: 플랫폼의 필터, 쓰기 가능, pinned_at
pinned_globally char 전 세계적으로 고정됨 플랫폼의 필터, 쓰기 가능, pinned_globally
pinned_until varchar2 고정 기간: writable 중첩된 객체의 JSON 텍스트입니다.
posts_count decimal #Posts 플랫폼의 필터, 쓰기 가능, posts_count
reply_count decimal #Replies 플랫폼의 필터, 쓰기 가능, reply_count
slug varchar2 슬러그 플랫폼의 필터, 쓰기 가능, slug
title varchar2 타이틀 플랫폼의 필터, 쓰기 가능, title
unpinned varchar2 고정 해제됨 writable 중첩된 객체의 JSON 텍스트입니다.
user_id decimal 사용자 ID 플랫폼의 필터, 쓰기 가능, user_id
views decimal Views 플랫폼의 필터, 쓰기 가능, views
visible char 보임 플랫폼의 필터, 쓰기 가능, visible
word_count varchar2 단어 수 writable 중첩된 객체의 JSON 텍스트입니다.

릴리즈 노트

드라이버의 테이블, 열, 속성 및 기능에서 릴리스별로 변경된 사항은 다음과 같습니다.

이 테이블의 변경 사항, 26.0부터 27.0까지

  • ~ bookmarked (database_data_type: varchar2 → char)
  • ~ bookmarked (dotnet_data_type: string → boolean)
  • ~ category_id (database_data_type: decimal → int64)
  • ~ category_id (dotnet_data_type: decimal → int64)
  • ~ chunk_size (database_data_type: decimal → int64)
  • ~ chunk_size (dotnet_data_type: decimal → int64)
  • - details_auto_close_at
  • - details_auto_close_based_on_last_post
  • - details_auto_close_hours
  • ~ details_created_by_id (database_data_type: decimal → int64)
  • ~ details_created_by_id (dotnet_data_type: decimal → int64)
  • ~ details_last_poster_id (database_data_type: decimal → int64)
  • ~ details_last_poster_id (dotnet_data_type: decimal → int64)
  • ~ details_notification_level (database_data_type: decimal → int64)
  • ~ details_notification_level (dotnet_data_type: decimal → int64)

53개의 추가 변경 사항

Parameter print is removed from Discourse.Topics.tById

A call that passes the parameter fails after the upgrade.

어떻게 해야 할까요?

Check statements, views and scripts that use it before the upgrade.

  • 문장을 끊을 수 있다
  • 중요도 4

  • ~ draft_sequence (database_data_type: varchar2 → int64)
  • ~ draft_sequence (dotnet_data_type: string → int64)
  • ~ highest_post_number (database_data_type: decimal → int64)
  • ~ highest_post_number (dotnet_data_type: decimal → int64)
  • ~ id (database_data_type: decimal → int64)
  • ~ id (dotnet_data_type: decimal → int64)
  • ~ like_count (database_data_type: decimal → int64)
  • ~ like_count (dotnet_data_type: decimal → int64)
  • ~ participant_count (database_data_type: decimal → int64)
  • ~ participant_count (dotnet_data_type: decimal → int64)
  • ~ posts_count (database_data_type: decimal → int64)
  • ~ posts_count (dotnet_data_type: decimal → int64)
  • ~ reply_count (database_data_type: decimal → int64)
  • ~ reply_count (dotnet_data_type: decimal → int64)
  • ~ user_id (database_data_type: decimal → int64)
  • ~ user_id (dotnet_data_type: decimal → int64)
  • ~ views (database_data_type: decimal → int64)
  • ~ views (dotnet_data_type: decimal → int64)
  • ~ word_count (database_data_type: varchar2 → int64)
  • ~ word_count (dotnet_data_type: string → int64)
  • + current_post_number (int64)
  • + details_can_archive_topic (char)
  • + details_can_banner_topic (char)
  • + details_can_close_topic (char)
  • + details_can_convert_topic (char)
  • + details_can_create_post (char)
  • + details_can_delete (char)
  • + details_can_edit (char)
  • + details_can_edit_staff_notes (char)
  • + details_can_invite_to (char)
  • + details_can_invite_via_email (char)
  • + details_can_moderate_category (char)
  • + details_can_move_posts (char)
  • + details_can_pin_unpin_topic (char)
  • + details_can_remove_allowed_users (char)
  • + details_can_remove_self_id (int64)
  • + details_can_reply_as_new_topic (char)
  • + details_can_review_topic (char)
  • + details_can_split_merge_topic (char)
  • + details_can_toggle_topic_visibility (char)
  • + details_created_by_name (varchar2)
  • + details_last_poster_name (varchar2)
  • + featured_link (varchar2)
  • + has_deleted (char)
  • + image_url (varchar2)
  • + message_bus_last_id (int64)
  • + show_read_indicator (char)
  • + slow_mode_enabled_until (varchar2)
  • + slow_mode_seconds (int64)
  • + tags_descriptions (varchar2)
  • + thumbnails (varchar2)
  • + topic_timer (varchar2)

운전자의 모든 변경 사항, 26.0부터 27.0까지