anchor.diff:  [[get-field-mapping-api-specific-fields-ex]]
   ===== Specifying fields
   
  -The get mapping api allows you to specify a comma-separated list of fields.
  +The get mapping API allows you to specify a comma-separated list of fields.
   
   For instance to select the `id` of the `author` field, you must use its full name `author.id`.
   
  
positive.code: 
  `GET /_mapping/field/<field>`
  
  `GET /<index>/_mapping/field/<field>`
  
  
  [[get-field-mapping-api-path-params]]
  ==== {api-path-parms-title}
  
  include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index]
  
  `<field>`::
  (Optional, string) Comma-separated list or wildcard expression of fields used to
  
negative.code: <titleabbrev>Get field mapping</titleabbrev>
  ++++
  
  Retrieves <<mapping,mapping definitions>> for one or more fields. For data
  streams, the API retrieves field mappings for the stream's backing indices.
  
  This API is useful if you don't need a <<indices-get-mapping,complete mapping>>
  or if an index mapping contains a large number of fields.
  
  [source,console]
  ----
  